Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. resources management in Qt creator
Forum Updated to NodeBB v4.3 + New Features

resources management in Qt creator

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 247 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.
  • O Offline
    O Offline
    Olivier92m
    wrote on 2 Mar 2023, 15:59 last edited by
    #1

    Hello everybody,

    Am I the only one who has an issue with managing the resources(.qrc) in qt creator when using cmake ?

    when I use qmake, all the resources are shown in the project explorer, and there is even the options to copy the qrc path of resources, open the resource editor etc...

    How do I get access to all that while using CMake?

    Thanks

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on 2 Mar 2023, 16:52 last edited by
      #2

      did you

      set(CMAKE_AUTORCC ON)
      

      in your cmakefile.txt ?

      O 1 Reply Last reply 3 Mar 2023, 19:53
      0
      • ? A Former User
        2 Mar 2023, 16:52

        did you

        set(CMAKE_AUTORCC ON)
        

        in your cmakefile.txt ?

        O Offline
        O Offline
        Olivier92m
        wrote on 3 Mar 2023, 19:53 last edited by
        #3

        @ankou29666 No and thanks, this solves my issue.
        part of me feels a bit dumb for not reading the doc properly, and part of me is wondering why this is not automatically added to the generated when the CMakeLists.txt file, since qml projects by default use the resource system ...

        Thanks.

        1 Reply Last reply
        0
        • O Olivier92m has marked this topic as solved on 3 Mar 2023, 19:55

        1/3

        2 Mar 2023, 15:59

        • Login

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