summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/file_copies.prf
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2017-04-18 11:42:18 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2017-05-02 15:43:14 +0000
commite4cb8c881f4c5e99de50a811d6cc7dd911baaa5e (patch)
tree95c97695d11b9588437790e953d5b32690251468 /mkspecs/features/file_copies.prf
parent62fc49fb91aa1e170b1ec61baab24bad3291e98d (diff)
Fix installation of shader files in qtquickcontrols in non-prefix builds
Use the new qmake install command to copy files around, in order to avoid the '+' trap of the Windows copy command. Task-number: QTBUG-60214 Change-Id: I7f588dbbfcdd89b7e98dbef7757944ca856815aa Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'mkspecs/features/file_copies.prf')
-rw-r--r--mkspecs/features/file_copies.prf6
1 files changed, 2 insertions, 4 deletions
diff --git a/mkspecs/features/file_copies.prf b/mkspecs/features/file_copies.prf
index 4ebf41c78f..a3520ba549 100644
--- a/mkspecs/features/file_copies.prf
+++ b/mkspecs/features/file_copies.prf
@@ -45,11 +45,9 @@ for (cp, COPIES) {
}
$${pfx}.input = $${pfx}.files
!$$dir: \
- $${pfx}.commands = $$QMAKE_COPY ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT_PATH}
- else: !copy_dir_files: \
- $${pfx}.commands = $$QMAKE_COPY_DIR ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT_PATH}
+ $${pfx}.commands = $(QINSTALL_FILE) ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
else: \
- $${pfx}.commands = $$QMAKE_COPY_DIR ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
+ $${pfx}.commands = $(QINSTALL_DIR) ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
$${pfx}.name = COPY ${QMAKE_FILE_IN}
$${pfx}.CONFIG = no_link no_clean target_predeps
QMAKE_EXTRA_COMPILERS += $${pfx}