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. How to include a .qrc in another .qrc file?
Forum Updated to NodeBB v4.3 + New Features

How to include a .qrc in another .qrc file?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 4.5k 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.
  • F Offline
    F Offline
    frinker
    wrote on last edited by
    #1

    Hi,

    Is there any way to include a .qrc file into another .qrc file, just like the #include in C?

    Thanks.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DenisKormalev
      wrote on last edited by
      #2

      Nope. All you can do is to add rcc file to qrc and in run-time load it in some subtree.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andre
        wrote on last edited by
        #3

        A workaround may be to use .pri files instead. Those .pri files can then reference one or more resource files and/or include other .pri files. In your .pro file, you then include() the .pri file you want, and all the resources in the tree of resource .pri files will be added to your project.

        1 Reply Last reply
        0
        • F Offline
          F Offline
          frinker
          wrote on last edited by
          #4

          Thanks, I will try that!

          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