title: How can I copy dll files to the output directory in Qt not using QtCreator?
body: <p>I have a Qt-based application that uses a number of dlls that are built outside of the project.  These dlls are checked into source because we will not be rebuilding them very frequently (they take on the order of hours to build, I don't want those to be in the main project).  I want to copy those dlls into the appropriate directories (release, debug) once building has occurred.  Is there a way to incorporate that copy step into the .pro file, so that the copying is propagated to each machine that uses the code?  The suggestion I've found in places like <a href="https://stackoverflow.com/questions/4720937/post-build-events-in-qt-builder">this</a> is to use a post-build step and build a batch file, but post-build steps are not shared between machines (they are stored in the .pro.user file, which is machine specific).</p>
  
  <p>I've tried using something like: </p>
  
  <pre><code>Debug:POST_TARGETDEPS = ../../Dir1/Dir2/bin/mylib.dll
  </code></pre>
  
  <p>But that doesn't copy the file into the debug directory nor into the DESTDIR directory.</p>