summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/pngdumper/pngdumper.pro8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/pngdumper/pngdumper.pro b/tools/pngdumper/pngdumper.pro
index 8a6a50b..d29e50f 100644
--- a/tools/pngdumper/pngdumper.pro
+++ b/tools/pngdumper/pngdumper.pro
@@ -20,11 +20,9 @@ OTHER_FILES = qmldir \
ItemModel.qml
!equals(_PRO_FILE_PWD_, $$OUT_PWD) {
- copy_qmldir.target = $$OUT_PWD/qmldir
- copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir
- copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
- QMAKE_EXTRA_TARGETS += copy_qmldir
- PRE_TARGETDEPS += $$copy_qmldir.target
+ cpqmldir.files = qmldir
+ cpqmldir.path = $$OUT_PWD
+ COPIES += cpqmldir
}
qmldir.files = qmldir