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

Headers not found in Editor / C++ code model but compiles fine. CMake based project.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 3.3.0, Qt Creator 3.3.1, Qt Creator 3.3.2, Qt Creator 3.4.0, Qt Creator 3.4.1, Qt Creator 3.4.2, Qt Creator 3.5.0
    • None
    • Mac OS X 10.8.5, Windows 8. Qt Creator 3.3.0 through 3.5.0. Haven't tested Linux and Win7 but probably the same.

    Description

      This is probably the same bug as 13746 but for me it also affects Qt Widget includes. I attached two screen shots of the same file in the C++ Code Model View, one taken from QtCreator 3.2.2 another taken from 3.5.0.
      The last Qt Creator version that works in that regard is 3.2.2.

      It is really a really annoying issue because with a CMake based project I can't just go ahead and simply add a bunch of #includes to a "myproject.includes" file, like I would do with a simple "myproject.creator" based workflow.

      I would really appreciate it if someone could look into this and hopefully fix this.

      Attachments

        1. 322.png
          322.png
          267 kB
        2. 350.png
          350.png
          231 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kosjar Nikolai Kosjar
            xtrawurst Rafael Spring
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes