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 12:54 Go to next message
katie evans is currently offline katie evansFriend
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 74 times)
Re: Librarys in .pro file (QT) [message #962637 is a reply to message #959094] Mon, 29 October 2012 08:01 Go to previous message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1968
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: Fri Nov 28 14:59:24 GMT 2014

Powered by FUDForum. Page generated in 0.02523 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software