title: Switch between multiple .qrc files at runtime
body: <p>I have several themes folders each containing a <code>.qrc</code> file:</p>
  
  <pre><code>redTheme/
             - File.qml
             - qml.qrc
  blueTheme/
             - File.qml
             - qml.qrc
  </code></pre>
  
  <p>I am currently able to switch between these themes at compile time. This means I need to change my <code>import</code> statement to the theme I want to use.</p>
  
  <p>I would like to know if I could do this in runtime. It would give much more flexibility to the user. Example : user clicks on a <code>Button</code> which triggers a <code>signal</code> and loads another theme (from <code>C++</code> or <code>QML</code>)</p>
  
  <p>My first interrogation is : should I use <code>.qrc</code> files or <a href="http://doc.qt.io/qt-5/qtqml-modules-topic.html" rel="nofollow">QML Modules</a>?</p>
  
  <p>The former loads its content after being called from <code>C++</code> whereas the latter compels me to use <code>import</code> statements.</p>
  
  <p>This brings me to other questions:</p>
  
  <ol>
  <li>Can I use several <code>.qrc</code> files?</li>
  <li>If so, can I "unload" a <code>.qrc</code> file? Could be a stupid question as
  I'm not  fully aware of the Qt Resource System mechanisms.</li>
  <li>How would I load another <code>.qrc</code> file? I would have my <code>main.qrc</code> file
  loading views and my <code>themes.qrc</code> files loading the custom <code>QML</code>
  objects.</li>
  </ol>