Force the Resource Re-compilation

Because of a bug in Qt Creator, the *.qrc file i not always compiled into the executable file. A workaround to do this is to add a dummy file to your *.qrc file and then touch it before every build. To do that in Windows:

  • Go to Projects tab
  • Click Add Build Step
  • Select Custom Process Step
  • Fill it according to the following screenshot


And voila!