Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-13432

Projects generated from CMake do not properly parse OS X Frameworks directories and C++ Code model is broken

    XMLWordPrintable

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.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-13432
        # Subject Branch Project Status CR V

        Activity

          People

            dt Daniel Teske
            imikejackson Michael Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes