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

CMake project with Unix Makefiles don't show source code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.0.2, Qt Creator 4.1.0
    • Ubuntu 14.04

    Description

      When loading a new cmake project with Qt Creator 4.1.0 cmake runs correctly and the project builds successfully. However, none of the source files show up in the Project pane and there does not appear to be any way to get them to show up.

      The problem occurs with when using a CMake Generator for Unix Makefiles with CMake 2.8.7 or 3.5.2.

      This used to work with Qt Creator 3.2.2 or 3.6.0. It also works if you use a different CMake Generator such as CodeBlocks Ninja.

      Tested with a trivial project which is attached.

      Attachments

        1. No_Sources.tar
          30 kB
          Matthew Cole
        2. Qt_NoSource.jpg
          205 kB
          Matthew Cole
        3. Build_Dir_CodeBlocksNinja.tar
          220 kB
          Matthew Cole
        4. Build_Dir_UnixMakefiles_NoSource.tar
          220 kB
          Matthew Cole
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hunger Tobias Hunger
            mattkingc Matthew Cole
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes