[Qt-creator] Using with 4.5TP1

Daniel Teske daniel.teske at nokia.com
Mon Nov 3 17:51:46 CET 2008


> For me on Ubuntu 8.10, the "System Qt" directory in
> Tools->Options->Qt4->Qt Versions is /usr/local/Trolltech/Qt-4.5.0-tp1
> (which it should be).  But right under the Path line in that window it
> says "/usr/local/Trolltech/Qt-4.5.0-tp1 is not a valid qt directory".
> What does this mean?  How do I fix this?  I can't get anything to
> compile.
>
> /usr/local/Trolltech/Qt-4.5.0-tp1/bin is in my PATH, I added "export
> QT_PLUGIN_PATH=/path/to/qtcreator/bin" (with the right path) to my
> ~/.bashrc, and QTDIR is /usr/local/Trolltech/Qt-4.5.0-tp1.


Check that /usr/local/Trolltech/Qt-4.5.0-tp/bin/qmake exist and if so append 
the output of:

qmake -query QT_INSTALL_DATA QT_INSTALL_LIBS QT_INSTALL_HEADERS 
QT_INSTALL_DEMOS QT_INSTALL_EXAMPLES QT_INSTALL_CONFIGURATION 
QT_INSTALL_TRANSLATIONS QT_INSTALL_PLUGINS QT_INSTALL_BINS QT_INSTALL_DOCS 
QT_INSTALL_PREFIX

All in one line. That should help me pinpoint why you get that message.

daniel




More information about the Qt-creator-old mailing list