summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2019-05-14 12:22:26 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2019-05-15 11:01:50 +0000
commit16eb2b7e327c48e04bb7306c79cf45f9b843cff8 (patch)
treec6aa9b37a66ec2bb7e9aab62e6a37b21808b4245 /mkspecs
parent2544cfe80f4fca9d34c02336f051cfc215506cbc (diff)
Copy plugins.qmltypes files to build dir (again)
Since change c808a6978b0e9908 plugins.qmltypes and designer/* didn't get copied anymore for a non-prefixed build. Fix this, and clean up surrounding code. Fixes: QTBUG-75682 Change-Id: Ic6de94a5b01dae08929a67cbaedde60d120a4807 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/qml_module.prf11
1 files changed, 4 insertions, 7 deletions
diff --git a/mkspecs/features/qml_module.prf b/mkspecs/features/qml_module.prf
index dbf5b74355..57cfec78b3 100644
--- a/mkspecs/features/qml_module.prf
+++ b/mkspecs/features/qml_module.prf
@@ -50,10 +50,7 @@ builtin_resources {
# Install rules
qmldir.base = $$qmldir_path
-# Tools need qmldir and plugins.qmltypes always installed on the file system
-
qmldir.files = $$qmldir_file
-install_qml_files: qmldir.files += $$fq_qml_files
qmldir.path = $$[QT_INSTALL_QML]/$$TARGETPATH
INSTALLS += qmldir
@@ -65,12 +62,12 @@ INSTALLS += qmlfiles
!debug_and_release|!build_all|CONFIG(release, debug|release) {
!prefix_build {
- COPIES += qmldir
+ COPIES += qmldir qmlfiles
} else {
# For non-installed static builds, tools need qmldir and plugins.qmltypes
# files in the build dir
- qmldir2build.files = $$qmldir_file $$fq_aux_qml_files
- qmldir2build.path = $$DESTDIR
- COPIES += qmldir2build
+ qml2build.files = $$qmldir_file $$fq_aux_qml_files
+ qml2build.path = $$DESTDIR
+ COPIES += qml2build
}
}