How to I add files to the output directory? (qmake)
Some of my tests requires json files to be present in the working directory.
When I do out of source builds, the executable get's placed all alone in the source folder, and when I hit ctrl+r in qt creator, the file is not found and the tests fail.
Is it possible to specify that the file should be copied to the output directory?
I've already added the json files to the OTHER_FILES variable in my .pro-files.
you can try defining custom targets "here":http://qt-project.org/doc/qt-5/qmake-advanced-usage.html#adding-custom-targets or installing files "here":http://qt-project.org/doc/qt-5/qmake-advanced-usage.html#installing-files