Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [QtCreator] Header and Source folder organization with CMake 3.14 and above

[QtCreator] Header and Source folder organization with CMake 3.14 and above

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
cmakeproject filesqtcreator
3 Posts 3 Posters 1.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jgoenetxeaJ Offline
    jgoenetxeaJ Offline
    jgoenetxea
    wrote on last edited by
    #1

    In previous versions, the source and header files were organized in 'Projects' view depending the folder structure and how the files were included in the CMakeLists.txt file.

    However, with CMake 3.14 and above, the files are organized in two folders: Headers and Source.

    Is there any way to maintain the previous 'Projects' view style with newer CMake versions?

    aha_1980A 1 Reply Last reply
    1
    • jgoenetxeaJ jgoenetxea

      In previous versions, the source and header files were organized in 'Projects' view depending the folder structure and how the files were included in the CMakeLists.txt file.

      However, with CMake 3.14 and above, the files are organized in two folders: Headers and Source.

      Is there any way to maintain the previous 'Projects' view style with newer CMake versions?

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi @jgoenetxea,

      I think you are talkin about QTCREATORBUG-23372 - you might want to comment and vote there.

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      1
      • G Offline
        G Offline
        Gulivert
        wrote on last edited by
        #3

        I have the same problem on MacOS but this seems not coming from CMake but from the last version of QT Creator 4.11.x
        I installed an instance of Qt Creator to 4.10.x and get back project structure as folders structure.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved