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

Headers not mentioned in sources in CMake not listed in project view

    XMLWordPrintable

Details

    • Linux/X11

    Description

      I was cleaning up CMake build script for a project and noticed .h were listed in SOURCES of a target. As CMake ignores header files there, I decided to remove them. But apparently, that causes the header files to not be listed in the project sidebar.

       

      Qt Creator should probably do what CMake does and use "GCC's -MD and -MF options (and the equivalents for other compilers), which spits out the header dependency information" rather than rely on headers listed in sources.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cadam Cristian Adam
            jtojnar Jan Tojnar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes