Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » o completion while using CDT and Qt4.1.0
o completion while using CDT and Qt4.1.0 [message #198539] Sun, 29 July 2007 16:43 Go to next message
Eclipse UserFriend
Originally posted by: olivier57b.yahoo.fr

hello,

the title of this post is clear.
I manage to compile Qt projects but I have no completion, and if I
double-click on "QApplication" in the outline view, I have the error
message: "no include file found".

do you have ideas on how to configure eclipse?(eclipse europa)

thank you,

lolveley.
Re: o completion while using CDT and Qt4.1.0 [message #198555 is a reply to message #198539] Sun, 29 July 2007 16:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: olivier57b.yahoo.fr

lolveley a écrit :
> hello,
>
> the title of this post is clear.
> I manage to compile Qt projects but I have no completion, and if I
> double-click on "QApplication" in the outline view, I have the error
> message: "no include file found".
>
> do you have ideas on how to configure eclipse?(eclipse europa)
>
> thank you,
>
> lolveley.

I specify that I have a file which begins with "#include
<QApplication>", after it is a basic file ("hello world").
Re: o completion while using CDT and Qt4.1.0 [message #198646 is a reply to message #198555] Mon, 30 July 2007 12:33 Go to previous message
Eclipse UserFriend
On 2007-07-29 16:47:33 -0400, lolveley <olivier57b@yahoo.fr> said:

> lolveley a écrit :
>> hello,
>>
>> the title of this post is clear.
>> I manage to compile Qt projects but I have no completion, and if I
>> double-click on "QApplication" in the outline view, I have the error
>> message: "no include file found".
>>
>> do you have ideas on how to configure eclipse?(eclipse europa)
>>
>> thank you,
>>
>> lolveley.
>
> I specify that I have a file which begins with "#include
> <QApplication>", after it is a basic file ("hello world").

you need to add all the Qt specific include paths to the "Paths and
Symbols" option in your project options. CDT only knows about the basic
include directories on a system, things like /usr/include,
/usr/local/include/ and those. CDT doesn't know about the Qt related
include directories (at least on my OS X Machine). So adding all the
specific Qt include directories solved the problem for me.

Mike Jackson
Previous Topic:Warning at the Start New Project
Next Topic:New (4.0) CDT Build settings
Goto Forum:
  


Current Time: Thu Mar 13 15:32:09 EDT 2025

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

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

Back to the top