title: What's the preferred way to include QML sources in your application build?
body: <p>I am building an application with mixed UI technologies (mostly C++ with some QML components included).</p>
  
  <p>Suppose I have a QML item which I want to show inside a <code>QDeclarativeView</code> using syntax like this:</p>
  
  <pre><code>view = new QDeclarativeView(QUrl::fromLocalFile("foobar.qml"));
  </code></pre>
  
  <p>I have added foobar.qml to my project in Qt Creator which automatically adds this line to the .pro file:</p>
  
  <pre><code>OTHER_FILES += \
      foobar.qml
  </code></pre>
  
  <p>Now, you would expect including the file into the project to imply that it should be copied to the build folder, but it doesn't, and I get an error about missing foobar.qml in the build folder when I run the application. I'd hate to add custom build steps just to copy QML sources around, so is there some "de facto" way of doing this?</p>