[Qt-creator] QtCreator 2.8: Buggy path resolution with CONFIG and PKGCONFIG in pro file

Preet prismatic.project at gmail.com
Sun Jun 9 11:06:35 CEST 2013


With the 2.8 beta, I have a specific pro file that gives me a bunch of
trouble with proper path resolution for autocomplete / ifdefs / etc in the
editor. Compilation seems to proceed without any issues, but in the editor
it will show for example that QtCreator can't find QString or QTimer... or
it won't recognize DEFINES from the .pro file and make the corresponding
visual changes in the editor.

The part thats causing issues afaict is link_pkgconfig and PKGCONFIG:

QT += core quick
CONFIG += plugin debug
CONFIG += link_pkgconfig
PKGCONFIG += openthreads openscenegraph

If I remove the CONFIG and PKGCONFIG under #osg I don't seem to have the
problems. But this is inconsistent in that this doesn't happen in another
project where I had a different setup under #qt [it was an app and not a
plugin lib I believe].
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator/attachments/20130609/96574952/attachment.html 

More information about the Qt-creator mailing list