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. Handling resource files with CMake in QtCreator

Handling resource files with CMake in QtCreator

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 3 Posters 1.0k Views 2 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.
  • L Offline
    L Offline
    Larvae
    wrote on last edited by
    #1

    Hi,

    according to the documentary you can create a rcc from qrc files using qt5_add_binary_resources(target "my.qrc" DESTINATION "my.rcc")instead of adding it to add_executable.

    The problem is that now QtCreator doesn't list the qrc-file and it's content in the explorer anymore.

    Is there a way to get it back into the explorer?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Sounds like a bug. Check/ report it on https://bugreports.qt.io

      (Z(:^

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

        Hi,

        By the way, which version of Qt Creator is that ?
        On what OS ?

        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
        0
        • L Offline
          L Offline
          Larvae
          wrote on last edited by
          #4

          I'm running Qt Creator 4.9.0/4.9.1 on windows 10.

          I filed a bug report. For now I solved it by adding it to add_executable using a variable I comment out.

          1 Reply Last reply
          0

          • Login

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