Commit f1958dbb authored by Oswald Buddenhagen's avatar Oswald Buddenhagen Committed by Liang Qi
Browse files

make use of COPIES


Change-Id: I34965cada901fce3cf300a99fa65d4d3f9bd4578
Reviewed-by: default avatarLiang Qi <liang.qi@qt.io>
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
parent a060d25e
Branches
Tags
No related merge requests found
Showing with 2 additions and 17 deletions
...@@ -25,25 +25,10 @@ qml1_target: \ ...@@ -25,25 +25,10 @@ qml1_target: \
else: \ else: \
instbase = $$[QT_INSTALL_QML] instbase = $$[QT_INSTALL_QML]
!force_independent:if(!debug_and_release|!build_all|CONFIG(release, debug|release)) {
# These bizarre rules copy the files to the qtbase build directory
defineReplace(qmlModStripSrcDir) {
return($$relative_path($$1, $$_PRO_FILE_PWD_))
}
qmlfiles2build.input = fq_qml_files
qmlfiles2build.output = $$instbase/$$TARGETPATH/${QMAKE_FUNC_FILE_IN_qmlModStripSrcDir}
!contains(TEMPLATE, vc.*): qmlfiles2build.variable_out = PRE_TARGETDEPS
qmlfiles2build.commands = $$QMAKE_COPY ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
qmlfiles2build.name = COPY ${QMAKE_FILE_IN}
qmlfiles2build.CONFIG = no_link no_clean
QMAKE_EXTRA_COMPILERS += qmlfiles2build
}
# Install rules # Install rules
qmldir.base = $$_PRO_FILE_PWD_ qmldir.base = $$_PRO_FILE_PWD_
qmldir.files = $$fq_qml_files qmldir.files = $$fq_qml_files
qmldir.path = $$instbase/$$TARGETPATH qmldir.path = $$instbase/$$TARGETPATH
INSTALLS += qmldir INSTALLS += qmldir
!prefix_build: COPIES += qmldir
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment