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. Include resources using glob in resource file
Forum Updated to NodeBB v4.3 + New Features

Include resources using glob in resource file

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 416 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.
  • V Offline
    V Offline
    Vadi2
    wrote on last edited by
    #1

    Is it possible to use globbing in .qrc to include files? I'd like to include the .qm files as resources, and I'd rather not edit the list every time I need to add a language - unncessary and error-prone.

    sierdzioS 1 Reply Last reply
    0
    • V Vadi2

      Is it possible to use globbing in .qrc to include files? I'd like to include the .qm files as resources, and I'd rather not edit the list every time I need to add a language - unncessary and error-prone.

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

      @Vadi2 said in Include resources using glob in resource file:

      Is it possible to use globbing in .qrc to include files?

      No, or at least the documentation does not mention it.

      You can, however, generate the QRC automatically as part of your build process (for example using undocumented QMAKE_SUBSTITUTES variable).

      (Z(:^

      1 Reply Last reply
      0
      • V Offline
        V Offline
        Vadi2
        wrote on last edited by
        #3

        Thank you very much for that tip!

        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