title: Compiling Qt applications from command-line in Windows
body: <p>I downloaded Qt SDK and set up paths for qmake etc commands. Now I'm trying to compile "Hello World" program from command-line but don't know how to do that in Windows.</p>
  
  <p>In Linux, it's very simple: qmake -project; qmake; make;</p>
  
  <p>In Windows I tried: qmake -project; qmake; mingw32-make;
  mingw32-make returns: "Nothing to be done for first"</p>
  
  <p>Source code which I would like to compile is here:</p>
  
  <pre><code>#include &lt;QtGui&gt;
  int main(int argc, char *argv[]) {
      QApplication app(argc, argv);
      QMainWindow mainWindow;
      mainWindow.setWindowTitle("Hello World!");
      mainWindow.show();
      return app.exec();
  }
  </code></pre>
  
  <p>I know that I could use Qt Creator IDE but I would like to know how to compile Qt programs in command-line.</p>
  
  <p>Anybody have experiences?</p>