title: Compile a Qt project from command Line
body: <p>I am developing a application using Qt, the C++ library/framework. Using the QT-Creator I can compile my project just fine and the build directory generates the desired executable files just fine. However, I am trying to automate my asks and using Apache ANT. But I am running into the following issues.</p>
  
  <p>Here is the output from the command line:</p>
  
  <pre><code>build.mac.64:
       [echo] Building for Mac
       [echo] Updating destination path
       [exec] Project WARNING: No .qmake.cache is present. This significantly slows down qmake with this makespec.
       [exec] Project WARNING: Call 'cache()' in the top-level project file to rectify this problem.
       [exec] make: Nothing to be done for `first'.
       [exec] cp: ./build/mac.64/settings.ini: No such file or directory
       [exec] Result: 1
       [echo] Reverting destination path
  </code></pre>
  
  <p>I am not sure why it is not compiling the executable file. </p>
  
  <p>Here is how my target looks like:</p>
  
  <pre><code>&lt;target name="build.mac.64"&gt;
      &lt;echo&gt;Building for Mac&lt;/echo&gt;
      &lt;exec executable="qmake"&gt;
          &lt;arg value="myproject.pro"/&gt;
          &lt;arg
          value="-r"/&gt;
          &lt;arg value="-spec"/&gt;
          &lt;arg value="macx-clang"/&gt;
          &lt;arg value="CONFIG+=x86_64"/&gt;
      &lt;/exec&gt;
  
      &lt;exec executable="make" /&gt;
  
      &lt;exec executable="cp"&gt;
          &lt;arg value="./settings.ini"/&gt;
          &lt;arg value="${default.build.dir.mac.64}/settings.ini"/&gt;
      &lt;/exec&gt;
  
  &lt;/target&gt;
  </code></pre>
  
  <p>Any idea where I am going wrong?</p>