[Qt-creator] Q<Typename> underlined in Qt Creator

Leandro T. C. Melo leandro.melo at nokia.com
Fri Mar 11 09:59:51 CET 2011


On 3/10/2011 10:47 AM, ext Markus Franke wrote:
>
> Does nobody have an idea why Qt Creator is not able to detect this 
> particular Qt build?
> Are there information in some logfiles of Qt Creator which might help 
> to solve the problem?
>
> Best regards,
> Markus Franke
>
> qt-creator-bounces+franke.m=sebakmt.com at qt.nokia.com schrieb am 
> 09.03.2011 10:29:47:
>
> >
> > The Qt Embedded 4.6.3 version has been compiled with the following
> > configure options:
> >
> > ---snip---
> > ./configure -xplatform qws/linux-panelcard-g++ -embedded arm -
> > DQT_QLOCALE_USES_FCVT -depths 8,15,16 -prefix /usr/local/qtopia -v -
> > nomake examples -nomake demos -no-webkit -no-scripttools -no-svg 
> -no-stl
> > -no-nis -no-libmng -no-cups -no-mouse-pc -qt-sql-sqlite2 -no-gfx-
> > multiscreen -qt-gfx-transformed -qt-libpng -no-exceptions -no-
> > accessibility -no-qt3support -no-xmlpatterns -no-multimedia -no-audio-
> > backend -no-phonon -no-phonon-backend -no-javascript-jit -no-script -no-
> > dbus -reduce-relocations -no-declarative -silent -qconfig local
> > ---snap---
> >
> > Might this have any influence on the Qt version detection of Qt 
> Creator?
> >
> > Best regards,
> > Markus Franke
> >
> > qt-creator-bounces+franke.m=sebakmt.com at qt.nokia.com schrieb am 08.03.
> > 2011 13:57:48:
> >
> > >
> > > I can confirm that this problem still exists with Qt Creator 2.1.0.
> > >
> > > Other Qt installations get detected properly, only this particular 
> build
> > > is not being recognized properly.
> > >
> > > What could cause these problems? What kind of information is 
> needed by Qt
> > > Creator in order to detect a Qt version properly?
> > >

Include paths for the modules specified in your .pro file should be set 
automatically. If you add QT += network, for example, you should be able 
to get proper identification on #include <QHostAddress> pointing to a 
header file (which might simply include another file and eventually the 
one in the sources) in the include directory from that particular build.

Since your project is building fine the headers must be there. Maybe 
there's something in your configuration/environment which is not being 
handled correctly in Creator... Would you mind taking a general look of 
the directory tree structure to see if there's anything suspicious?

Also, although it shouldn't be necessary in this case but could you 
please try INCLUDEPATH (and remove QTINC)?

Cheers,
Leandro.

-- 
Leandro T. C. Melo
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20110311/0ca14e01/attachment.html 


More information about the Qt-creator-old mailing list