title: Cannot Add an Icon to QML Desktop Application
body: <p>I'm writing a QML Desktop Application in QtCreator and c++(on Win7).</p>
  
  <p>In my main.cpp, I have loaded the application like this:</p>
  
  <pre><code>Q_DECL_EXPORT int main(int argc, char *argv[])
  {
      QApplication app(argc, argv);
      QDeclarativeView view;
      view.setWindowFlags(Qt::Window | Qt::MSWindowsFixedSizeDialogHint);
      view.setSource(QUrl("qrc:/qml/GenericHostApplicationQML/myMain.qml"));
      view.show();
      menu-&gt;load();
      return app.exec();
  }
  </code></pre>
  
  <p>and now I want to add an Icon to my application window, so I tried  this:</p>
  
  <pre><code>view.setWindowIcon(QIcon("qrc:/qml/GenericHostApplicationQML/content/pics/TXE.ico"));
  </code></pre>
  
  <p>and I'm not getting any error, but while I'm running it, the window has the regular .exe file icon, and not the wanted one. I tried changing the picture, but it didn't solve the problem.</p>