[Qt-creator] Code completion glitches

Andrew Gorges droidix at gmail.com
Thu Nov 13 02:08:21 CET 2008


On Wed, Nov 12, 2008 at 9:27 AM, Thorbjørn Lindeijer
<thorbjorn.lindeijer at nokia.com> wrote:
> ext Wei Mingzhi wrote:
>> 1) after adding some widgets in a UI designer, the added members won't
>> show in the completion list immediately until I restart the IDE.
>
> We're working on this. :-)
>
>> 2) if I try to #include some standard C/C++ includes (like stdio.h),
>> the IDE will show an underline in the #include line which indicates
>> that the included file doesn't exist, and when I type "printf(" the
>> hint window also won't popup. However the code itself compiles & runs
>> fine.
>
> Are you on Windows? We had to disable support for finding standard
> include directories on this platform (it should work on Linux, probably
> Mac too). In any case we'll get it to work on Windows too.
>

A work-around I found for Windows is to add this to the .pro file:

INCLUDEPATH += H:\Applications\QTCreator\mingw\include


> Regards,
> Bjørn
>
> --
> Thorbjørn Lindeijer
> Software Engineer
> Nokia, Qt Software
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>




More information about the Qt-creator-old mailing list