title: Qml Designer Path Resolving
body: <p>I've been working with QML Designer (inside QtCreator) and I found myself into lot of troubles.</p>
  
  <p>I've a QML C++ plugin in a library project, with lots of QML files loaded into resources, and I have my QML application using the plugin and the qml files, in another project.</p>
  
  <p>It's surprisingly difficult to setup an environment where QtCreator and Qml Designer both recognize the QMLs from the library.
  Playing with QML_IMPORT_PATH is not helping very much.
  QtCreator doesn't recognize the components imported from the library, even if the paths are correct, and QML Designer gives an M300 error, unknown component.</p>
  
  <p>If I use a relative import path (just as a temporary test), like</p>
  
  <pre><code>import "path/to/library" 1.0
  </code></pre>
  
  <p>instead of</p>
  
  <pre><code>import Library 1.0
  </code></pre>
  
  <p>QtCreator starts to recognize the components (the red underline disappears) QML Designer starts to open the files again without M300, but I have nothing in the QML Types tab (I cannot drag and drop anything from the library).</p>
  
  <p>What is the correct way to make the QML Designer load and recognize any qml component from any folder, specifying paths?
  I want to have my components from the library available in the QML Designer ui.</p>
  
  <p>Thank you.</p>