title: Including resource files in Qt Creator build directory
body: <p>I have a project I am working on with Qt Creator and I'm trying to get it to add my resource files to my build directories (output) automatically. I have the files in the project directory, but I don't know how to edit the *.pro file to make it include additional content files. (If that is even possible?)</p>
  
  <p>Does anyone know how to get content files exactly as they are into my output directories?</p>
  
  <p>EDIT:</p>
  
  <p>Just so everyone knows exactly what I'm trying to do... I want to automatically copy FFmpeg as an executable into my build directories. That way if the build output does not exist, it will be copied over just before the application is debugged.</p>
  
  <p>I'm trying to prevent clean operations from wiping out resources and me having to copy them back over again and again. Also... I work on multiple computers and use either SVN or Dropbox, so I want to keep my paths relative. They will change when I move from one computer to another.</p>
  
  <p>FINAL ANSWER:</p>
  
  <pre><code>CONFIG(release, debug|release) {
      DESTDIR = release
  } else {
      DESTDIR = debug
  }
  
  #for Windows
  win32 {
      #in Windows, you can use &amp; to separate commands
      copyfiles.commands += @echo NOW COPYING ADDITIONAL FILE(S) &amp;
      copyfiles.commands += @call copy ..\\$${TARGET}\\ffmpeg.exe $${DESTDIR}\\ffmpeg.exe
  }
  
  #for Mac
  macx {
       #commands would go here if I had them
  }
  
  QMAKE_EXTRA_TARGETS += copyfiles
  POST_TARGETDEPS += copyfiles
  </code></pre>