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

Markus Franke Franke.M at sebakmt.com
Tue Mar 8 09:36:34 CET 2011


Dear Tim,

the autocompletion text for #include says for example "QTimer: No such 
file or directory"
But the file is definitely there. If I include the file by specifiying the 
full path everything works as well.

My Qt version is under: /usr/local/qte/

In the build environment the following environment variables are set:

QTDIR is set to /usr/local/qte
QTINC is set to /usr/local/qte/include

Thanks for any comments on this,
Markus


qt-creator-bounces+franke.m=sebakmt.com at qt.nokia.com schrieb am 07.03.2011 
20:24:55:

> Hi Markus
> > I have a project in Qt Creator 2.0.1 which actually compiles fine 
against
> > my Qt Everywhere 4.6.3 (QWS) libraries. However, Qt Creator still 
marks
> > all Qt types like QObject, QWidget, QApplication, etc, with a green
> > underline and the tooltip states that the type is not recognised by Qt
> > Creator. If I switch to the Qt Everywhere 4.6.3 (X11) installation Qt
> > Creator seems to recognise all the types again.
> > 
> > How can I solve this problem?
> I think this might be a problem of your qt pro file? 
> 
> What is displayed in the autocompletion for:
> #include "
> 
> Tim
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-creator



"Disclaimer: This message is intended only for the use of the individual 
or entity to
which it is addressed and may contain information which is privileged, 
confidential, proprietary,
or exempt from disclosure under applicable law. If you are not the 
intended recipient or the person
responsible for delivering the message to the intended recipient, you are 
strictly prohibited from
disclosing, distributing, copying, or in any way using this message. If 
you have received this 
communication in error, please notify the sender and destroy and delete 
any copies you may have
received."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20110308/15b7fe17/attachment.html 


More information about the Qt-creator-old mailing list