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 <[email protected]> > 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 > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-creator > >
_______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
