summaryrefslogtreecommitdiff
path: root/tests/auto/testplugin/testplugin.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/testplugin/testplugin.pro')
-rw-r--r--tests/auto/testplugin/testplugin.pro9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/auto/testplugin/testplugin.pro b/tests/auto/testplugin/testplugin.pro
index dfdd1a81..7e16087a 100644
--- a/tests/auto/testplugin/testplugin.pro
+++ b/tests/auto/testplugin/testplugin.pro
@@ -29,10 +29,7 @@ DESTDIR = $$TARGETPATH
!equals(PWD, $$OUT_PWD) {
# move qmldir alongside the plugin if shadow build
- qmldirfile.input = QMLDIR
- qmldirfile.output = $$DESTDIR/qmldir
- qmldirfile.variable_out = PRE_TARGETDEPS
- qmldirfile.commands = $$QMAKE_COPY ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
- qmldirfile.CONFIG = no_link no_clean
- QMAKE_EXTRA_COMPILERS += qmldirfile
+ qmldirfile.files = $$QMLDIR
+ qmldirfile.path = $$DESTDIR
+ COPIES += qmldirfile
}