title: QML: how to specify image file path relative to application folder
body: <p>We are developing our first Qt/QML application (trying technology). While technology looks very promising at a glance, we have faced so many unexpected weird issues that almost give up at very beginning.</p>
  
  <p>Here one of such issue.</p>
  
  <p>We want the following folders layout for our application:</p>
  
  <pre><code>--&gt; ApplicationFolder
  |--&gt; qml        // QML files (also structured by subfolders)
  |--&gt; resources  // Application resources (images, sounds, data-files, etc.)
  | |--&gt; images   // Image resources (also structured by subfolders)
  | |--&gt; data     // Different data files
  | |--&gt; ...      // Other resources
  |--&gt; Application.exe   // Application executable
  |--&gt; *.dll             // DLLs application depends on
  </code></pre>
  
  <p>The problem is that in order to specify image file for <code>Image</code> QML item we have to use path relative to QML file?! This is absolutely insane. During development files sometimes moved between folders (you move QML file and have to fix all the path it has?!); some different QML files have to refer to same image (same image resource but different actual path in different QML files).</p>
  
  <p>So the question is: how to specify image path relative to application folder? Is it possible at all?</p>
  
  <p>Thanks in advance!</p>
  
  <p>PS. Using Qt's resource system (when resources are embedded into executable) is not an option in our case. We need raw resources on disk (including QML files itself, at least during development phase).</p>
  
  <p>PPS. Wrote this question after spending a whole day to resolve the issue by myself via documentation/google/stackoverflow; no success at all (most examples use resource embedding, others are too simple and just use relative paths).</p>