[Qt-creator] Auto include classes ?

Sunil Thaha sunil.thaha at gmail.com
Sat Jun 6 18:55:53 CEST 2009


It doesn't auto-complete the headers. The QString/QByteArray works because
the one of your header files inturn includes QString.

PS: Its Qt and not QT :-)

2009/6/6 Patric <userqt at gmail.com>

>     I was wondering, is QT Creator auto including some of the QT Classes
> in
>     the headers ?
>     I have noticed that my class is initializing QString without the
>     #include <QString>
>     Also, I have created a header with namespace in it, and in this
>     namespace there was QByteArray object. And the code is working without
>     include.
>     I thought I should include every class in my program.
>     Patric
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4098 (20090522) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090606/fb442638/attachment.html 


More information about the Qt-creator-old mailing list