title: Change Qt application icons dynamically when language change event
body: <p>I am currently working on a Qt app where the language can be changed dynamically. </p>
  
  <p>To translate the strings, I used a <code>QTranslator</code> and overloaded the <code>changeEvent</code> method in each of my widgets, and everything is working fine on this side.</p>
  
  <p>It's a different thing with the resources of the projects. Indeed Qt resources can have a <code>lang</code> attribute in the resource file (.qrc) of the application, but <a href="http://qt-project.org/doc/qt-4.8/resources.html" rel="nofollow">it seems that it is only loaded at the application startup, based on the user's locale</a> which is not what I want. I would like to be able to change these icons dynamically when a LanguageChange event is fired in my code.</p>
  
  <p>I could use rcc files to change the resource file, but it seems that this file will only be loaded at runtime, therefore I won't be able to access the resources in Qt Designer before running the program.</p>
  
  <p>So can I use, let's say, a <code>resource_en.qrc</code> file in my application .pro file so I can set my icons with Qt Designer, and then use my <code>.rcc files</code> at runtime(resource_fr,etc...) to set the resources dynamically? But how could I unregister a .qrc file from the resources and replace it with an .rcc file (if possible)</p>
  
  <p>Hope I made myself clear enough :D</p>
  
  <p>Thank you :)</p>