Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Files are not automatically added to the CMakeList
Qt 6.11 is out! See what's new in the release blog

Files are not automatically added to the CMakeList

Scheduled Pinned Locked Moved Unsolved Qt 6
2 Posts 2 Posters 4.7k Views 1 Watching
  • 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.
  • CesarC Offline
    CesarC Offline
    Cesar
    wrote on last edited by
    #1

    Im getting this message when I try to add any resource to the project via Add > Qt resource file

    218b4262-8555-4808-ba89-6711a0b46a60-image.png

    How could I set it to add the files automatically?
    I also have no 'resources' folder under the project tab.

    sierdzioS 1 Reply Last reply
    0
    • CesarC Cesar

      Im getting this message when I try to add any resource to the project via Add > Qt resource file

      218b4262-8555-4808-ba89-6711a0b46a60-image.png

      How could I set it to add the files automatically?
      I also have no 'resources' folder under the project tab.

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @Cesar said in Files are not automatically added to the CMakeList:

      How could I set it to add the files automatically?

      You can't, Qt Creator does not have such functionality. That's why it copies the path to clipboard - so you can paste it in CMakeLists.txt yourself.

      (Z(:^

      1 Reply Last reply
      2

      • Login

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