Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Librarys in .pro file (QT)
Librarys in .pro file (QT) [message #959094] Fri, 26 October 2012 08:54 Go to next message
katie evans is currently offline katie evans
Messages: 28
Registered: July 2012
Location: brisbane queensland austr...
Junior Member
Hello Everybody,

I have Eclipse Indigo Service Release 2 (Build id: 20120216-1857) with installed QT Plugin (Version: 1.6.1) on Ubuntu 64bit 10.04.
I have started my project in the QT-Creator and want to migrate to Eclipse. The project contains 2 external librarys. They are included over the .pro file. That works well with Creator or if I compile it with qmake and make.
Trying to compile in Eclipse I get all kind of strange errors:

forward declaration of 'struct QextSerialPortPrivate'	
Invalid arguments 'Candidates are: void addDestination(QsLogging::Destination *)
Invalid arguments 'Candidates are: void addDestination(QsLogging::Destination *)
invalid use of incomplete type 'struct QextSerialPortPrivate'
make: *** [debug] Error 2
make[1]: *** [debug/moc_qextserialport.o]
make[1]: Target `first' not remade because of errors.
...
..
.


Do I need to specify the librarys or subprojects somewhere in Eclipse?
The pro file I'm using is included in the tread.

Thank you for your answer.

Greeting from cold and rainy Switzerland.
Silvan
  • Attachment: Quake.pro
    (Size: 0.95KB, Downloaded 57 times)
Re: Librarys in .pro file (QT) [message #962637 is a reply to message #959094] Mon, 29 October 2012 04:01 Go to previous message
Axel Mueller is currently offline Axel Mueller
Messages: 1927
Registered: July 2009
Senior Member
If you can compile it with qmake and make then it will work within Eclipse. Eclipse just calls the makefile (which you created from the .pro file using qmake) for building.

Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Previous Topic:Updating the compiler
Next Topic:Opengl (glut) window only shows in debugger
Goto Forum:
  


Current Time: Thu Apr 17 08:46:59 EDT 2014

Powered by FUDForum. Page generated in 0.02141 seconds