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. QMake and Windows rc files

QMake and Windows rc files

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 2.4k 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.
  • U Offline
    U Offline
    Uflex
    wrote on last edited by
    #1

    Hi,

    I'm creating a plugin with creator and I'm currently having issues with windows resource files. My .rc file includes another resource file (built with a custom step) which isn't always included.

    If I do a rebuild, only the resources included in the rc file declared in the .pro file are bundled inside the dll. But if I modify the .rc file and build again, all the resources are included correctly in the dll.

    I've found a workaround to make the rebuild to work by adding a pre-build step, compiling the resource by hand and instead of specifying the rc file in the .pro I add the compiled one (.res). But I think it is a rather nasty way of doing this.

    Any suggestion? Could it be a bug in qmake (I'm using Qt 4.7.2)? I tried to look into the bug tracker but couldn't find anything...

    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