[Qt-creator] Creator Can not locate Qt Headers
Steve Atkins
steve at blighty.com
Thu Nov 13 19:17:03 CET 2014
On Nov 13, 2014, at 9:36 AM, Michael Jackson <imikejackson at gmail.com> wrote:
> Setup: OS X 10.8.5, Xcode 5.1.x, QtCreator 3.2.1.
>
> I have a pair of Kits setup: Qt 4.8.6 and Qt 5.3.1. Both are self built. My project is CMake based. I have no problems "Opening" my project and all that. I change the kit to my "Qt 5.3.1" installation. Everything compiles fine. The issue is that QtCreator can not seem to locate any Qt Header. There is a red squiggly line under #include <QtCore/QObject> and then none of the syntax highlighting works after that. I
When I've seen this with qmake projects it's been because the .pro file was valid enough to be parsed correctly by qmake, but had errors in it that caused Creator to fail to parse it. Tools -> C++ -> Inspect C++ Code Model might be useful (or it might cause Creator to unceremoniously crash: save everything first).
There are also some environment variables you can set to get more diagnostics, if the code model window doesn't have anything useful.
> was hoping to move to Qt 5.x for our project in order to see if the debugging experience is any better using Qt 5 versus Qt 4 with Xcode 5.x. LLDB and QtCreator just seem to not really like each other at this point.
I've not seen debugging work usefully on OS X for an age, regardless of Qt version.
Cheers,
Steve
>
> Any helpful advice would be extremely appreciated at this point. We about ready to throw up our hands in desperation and switch to something else as our IDE. I think we are just missing something simple on our OS X machines in order to set them up properly for a great debugging experience*
>
> Thanks
> Mike Jackson
> BlueQuartz Sofware
>
> *Python usually locks up, Simple Variables like QString do not show there values, let along a QMap, QSet or QVector.
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
More information about the Qt-creator
mailing list