PDA

View Full Version : Using Qt Creator with many builds



Luc4
24th April 2011, 15:28
Hi! I'm using Qt Creator with many different builds of Qt. Everything seems to work correctly, my applications are compiled and linked correctly for the architecture and Qt build I select.

There is one strange thing though: in Qt Creator, many lines are underlined to signal errors in the code, as it seems like some includepaths are missing. For instance it is not able to find Qt's headers. But the parameters passed to the compiler are correct I see. There are includepaths for my Qt headers inside the correct build.

I supposed this may be related to the mkspec I wrote, but QMAKE_INCDIR and QMAKE_INCDIR_QT are assigned in common/linux.conf and I didn't overwrite them. And moreover the command line has the correct arguments.

Why isn't Qt creator finding the correct headers (doesn't happen for the original Qt installation)?
Thanks!