I have a Qt-project that builds a dll/shared-library and another Qt-project that tests the library.
Is there any good way to have qmake copy the dll to the output-folder of the test-project?
I have a Qt-project that builds a dll/shared-library and another Qt-project that tests the library.
Is there any good way to have qmake copy the dll to the output-folder of the test-project?
This may not be a 'good' way but it may do the trick.
QMAKE_POST_LINK += some shell command to copy the dll
Add this to your pro file:
target.path = ../testProject/$$TARGET
INSTALLS += target