[Moved] QtCrearor does not find QT headers.
-
Hy,
I have Qt 4.5 Embedded version compiled for uClinux. I added it to QtCreator 2.1 (or 2.0.1) so that I could do easy development with that version. I am using Ubuntu 10.10 as development platform. The problem is that QtCreator is not able to locate QT header so as a result code completion does not work at all. But at the same time code compiles without any problems.
What could be the problem??? How and where QtCreator looks for headers?? Here is what I get from gmake:~/CppProjects/uClinux-dist/staging/usr/bin$ ./qmake -query
QT_INSTALL_PREFIX:/home/algirdas/CppProjects/uClinux-dist/staging/usr
QT_INSTALL_DATA:/home/algirdas/CppProjects/uClinux-dist/staging/usr
QT_INSTALL_DOCS:/home/algirdas/CppProjects/uClinux-dist/staging/usr/doc
QT_INSTALL_HEADERS:/home/algirdas/CppProjects/uClinux-dist/staging/usr/include
QT_INSTALL_LIBS:/home/algirdas/CppProjects/uClinux-dist/staging/usr/lib
QT_INSTALL_BINS:/home/algirdas/CppProjects/uClinux-dist/staging/usr/bin
QT_INSTALL_PLUGINS:/home/algirdas/CppProjects/uClinux-dist/staging/usr/plugins
QT_INSTALL_TRANSLATIONS:/home/algirdas/CppProjects/uClinux-dist/staging/usr/translations
QT_INSTALL_CONFIGURATION:/etc
QT_INSTALL_EXAMPLES:/usr/examples
QT_INSTALL_DEMOS:/usr/demos
QMAKE_MKSPECS:/home/algirdas/CppProjects/uClinux-dist/staging/usr/mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.5.1
k.Any ideas?
-
Sorry. Accidently posted to wrong thread ...
-
Well it would be nice if it could be moved to the Tools thread ... Thanks
-
I have the same problem when using any QtCreator >= 2.0.0 to build a Qt 4.6 Embedded target.
If anyone knows a fix to this, it would be appreciated.A temporary solution is to use QtCreator 1.3.0 which correctly detects Qt's headers with the same Qt 4.6 Embedded target.
-
Did you guys "report a bug":http://bugreports.qt.nokia.com/ yet?
This forum is not routinely scanned for bug reports, so getting it into the bug tracker is your best chance to get your issues fixed.
-
Well ok ... I'll try to do that later. Just thought maybe there is some quick fix for this already present or it's QT compilation issue. But seems it may be related to QtCreator.
-