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. Why are Qml files saved in resources visible in 'Sources' folder with Build 'Release'?
Forum Update on Monday, May 27th 2025

Why are Qml files saved in resources visible in 'Sources' folder with Build 'Release'?

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
7 Posts 2 Posters 960 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.
  • PowerNowP Offline
    PowerNowP Offline
    PowerNow
    wrote on last edited by PowerNow
    #1

    I just updated to Qt 5.11.1 with Qt Creator 4.6.2 (Win10) and realized that if I switch to Build 'Profile' or 'Release all my qml files saved in resources are moved to the 'Sources' folder. Does anyone know why this feature was introduced and how can I switch off it? Thxs...

    Additionally the file icons under 'Sources' are not visible...

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      When you say moved to the Sources folder, do you mean using the "Projects" view or physically on the disk ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      PowerNowP 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        When you say moved to the Sources folder, do you mean using the "Projects" view or physically on the disk ?

        PowerNowP Offline
        PowerNowP Offline
        PowerNow
        wrote on last edited by PowerNow
        #3

        @SGaist: Hi, I meant using the 'Projects' view, not physically.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Does it happen with a default Qt project ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          PowerNowP 1 Reply Last reply
          0
          • SGaistS SGaist

            Does it happen with a default Qt project ?

            PowerNowP Offline
            PowerNowP Offline
            PowerNow
            wrote on last edited by
            #5

            @SGaist: yes on every project.

            1 Reply Last reply
            0
            • PowerNowP Offline
              PowerNowP Offline
              PowerNow
              wrote on last edited by
              #6

              Just found the solution. Go to 'Projects/Build Steps' and deselect 'Enable Qt Quick Compiler'.

              1 Reply Last reply
              1
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Thanks for sharing !

                I do wonder if it shouldn’t be a bit more documented.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                1

                • Login

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