o completion while using CDT and Qt4.1.0 [message #198539] |
Sun, 29 July 2007 16:43  |
Eclipse User |
|
|
|
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 #198646 is a reply to message #198555] |
Mon, 30 July 2007 12:33  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03948 seconds