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.
  • J Offline
    J Offline
    jgoenetxea
    wrote on 7 Jan 2020, 12:28 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?

    A 1 Reply Last reply 7 Jan 2020, 13:03
    1
    • J jgoenetxea
      7 Jan 2020, 12:28

      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?

      A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 7 Jan 2020, 13:03 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 7 Jan 2020, 20:54 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

        3/3

        7 Jan 2020, 20:54

        • Login

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