Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Qt6 + CMake: Organize UI Files

    Tools
    2
    4
    273
    Loading More Posts
    • 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.
    • F
      fem_dev last edited by fem_dev

      As you can see in this image below, Qt6 + CMake project creates a file tree without a folder to UI files in Qt Creator IDE.
      uifiles.png

      What I need to do to Qt Creator IDE packs all *.ui files in a folder?

      Thank you,

      My Setup:

      • Ubuntu 20.04 x64
      • Qt 6.0.0
      • Qt Creator 4.14.0
      1 Reply Last reply Reply Quote 0
      • Christian Ehrlicher
        Christian Ehrlicher Lifetime Qt Champion last edited by

        @fem_dev said in Qt6 + CMake: Organize UI Files:

        What I need to do to Qt Creator IDE packs all *.ui files in a folder?

        Provide a patch to QtCreator to add this feature.

        Qt has to stay free or it will die.

        F 1 Reply Last reply Reply Quote 0
        • F
          fem_dev @Christian Ehrlicher last edited by

          @Christian-Ehrlicher sorry...I did understood...

          Could you give a example?

          Thank you,

          1 Reply Last reply Reply Quote 0
          • Christian Ehrlicher
            Christian Ehrlicher Lifetime Qt Champion last edited by

            @fem_dev said in Qt6 + CMake: Organize UI Files:

            Could you give a example?

            QtCreator does not support this for CMake projects yet. If you want this feature you have to add it to QtCreator by yourself and while you're at it you can provide this patch to the QtCreator devs so it gets integrated in the official release. Maybe there is already a request or patch for it in the bug tracker.

            Qt has to stay free or it will die.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post