Copy a file to build directory after compiling project with Qt

后端 未结 6 1789
孤街浪徒
孤街浪徒 2020-12-13 06:36

I have seen several suggestions, but nothing really worked for me as I want. I just need to copy a file to the desired destination directory.

Say, for example from t

6条回答
  •  攒了一身酷
    2020-12-13 07:21

    You can use DESTDIR and PWD qmake variables or OUT_PWD: http://qt-project.org/doc/qt-5.1/qmake/qmake-variable-reference.html#destdir

提交回复
热议问题