Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
Qt Creator 3.2.1, Qt Creator 3.3.0-beta1
-
None
-
Mac OS X 10.8.4 with Qt Creator 3.2.1 & 3.3.0 Beta. Also reproduced with OS X 10.9 and 10.10
Description
Create a Qt5 based project but use CMake as the build system. Open QtCreator, Open the Project by selecting the CMakeLists.txt file, set the build directory, run cmake.
Now open a source file and add #include <QtCore/QObject>. A red line appears under that line and the C++ code model can not find that include file. The build works because Cmake is properly adding the Framework directories.
Inspecting the code model the paths for the Qt frameworks are entered as "include Paths" instead of "Framework paths". This can be seen as /System/Library/Frameworks" has this done properly.