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

CMake project with Unix Makefiles don't show source code

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes