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 compile qrc files from command line on windows
Forum Updated to NodeBB v4.3 + New Features

How to compile qrc files from command line on windows

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.1k 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.
  • L Offline
    L Offline
    lfdm
    wrote on 20 Sept 2013, 07:10 last edited by
    #1

    Hi,

    We are using the Qt add-in for visual studio and storing XML files into qrc files. The problem is that the add-in doesn't detect if those files are modified and we always need to right click the qrc file and click compile. This is time consuming and prone to errors.

    I'd like to compile the resource file from a command line set in the pre-build event to make it automatic.

    Anyone would have a hint?

    Cheers,
    -Damien

    Damien LEFEVRE - http://www.lfdm.net

    1 Reply Last reply
    0
    • R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 20 Sept 2013, 07:18 last edited by
      #2

      Qt comes with a tool named "rcc":http://qt-project.org/doc/qt-4.8/rcc.html" which you can call.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lfdm
        wrote on 20 Sept 2013, 07:24 last edited by
        #3

        Great! Thanks a lot!

        I'll give it a try and report back =)

        Good day,
        -Damien

        Damien LEFEVRE - http://www.lfdm.net

        1 Reply Last reply
        0

        1/3

        20 Sept 2013, 07:10

        • 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