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

Project structure no longer generated with CMake 3.15 or higher

    XMLWordPrintable

    Details

    • Platform/s:
      macOS, Windows

      Description

      Project structure in QtCreator no longer shows the directory structure, instead it only shows files under "Header Files" and "Source Files" tags.
      This used to work with older CMake versions, eg. CMake 3.11.4
      See the attached pictures of the project structure on disk and visible structure in QtCreator with different CMake versions.

      Steps:

      • Install CMake 3.15 or higher
      • Configure QtCreator's Qt Kit to use the installed CMake version
      • Load the attachedĀ testp.tar.gz as a CMake project
        Outcome:
      • The project view does not show the directory structure (as can be seen in using_cmake-3.15_or_3.16.png)
        Expected:
      • The project view shows the directory structure (as can be seen in using_cmake_3.11.4_or_lower.png )

        Attachments

        1. project_structure_on_disk.png
          project_structure_on_disk.png
          27 kB
        2. testp.tar.gz
          6 kB
        3. using_cmake_3.11.4_or_lower.png
          using_cmake_3.11.4_or_lower.png
          40 kB
        4. using_cmake-3.15_or_3.16.png
          using_cmake-3.15_or_3.16.png
          81 kB

          Issue Links

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

            Activity

              People

              • Assignee:
                hunger Tobias Hunger
                Reporter:
                bty Younoussa Balde
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes