aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/Qt6QmlBuildInternals.cmake
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-02-26 15:28:45 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-03-01 22:27:28 +0000
commit8135d10c0f0dc29e219c598c22d0bf13ecb21cae (patch)
treed4b3de8494f82cfeae3e59152dde53538dbafef3 /src/qml/Qt6QmlBuildInternals.cmake
parent5e672d90008cf3d855ec561418d1596854677e03 (diff)
CMake: Remove INSTALL_QML_FILES option
QML files shall always be installed together with the module. Not installing them will just cause confusion. Change-Id: I380b03f1cfce92f2c1fd1e0205e0fa307b385097 Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 814ab9d05e947843de5e5708fb644f98db4765bd) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/qml/Qt6QmlBuildInternals.cmake')
-rw-r--r--src/qml/Qt6QmlBuildInternals.cmake8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/qml/Qt6QmlBuildInternals.cmake b/src/qml/Qt6QmlBuildInternals.cmake
index f6f1c98ecb..161c90644d 100644
--- a/src/qml/Qt6QmlBuildInternals.cmake
+++ b/src/qml/Qt6QmlBuildInternals.cmake
@@ -123,12 +123,6 @@ function(qt_internal_add_qml_module target)
qt_path_join(qml_module_install_dir ${QT_INSTALL_DIR} "${INSTALL_QMLDIR}/${arg_TARGET_PATH}")
- set(qml_module_build_dir "")
- if(NOT QT_WILL_INSTALL)
- qt_path_join(qml_module_build_dir ${QT_INSTALL_DIR} "${INSTALL_QMLDIR}/${arg_TARGET_PATH}")
- set(qml_module_build_dir OUTPUT_DIRECTORY "${qml_module_build_dir}")
- endif()
-
if (arg_SOURCES AND NOT arg_TYPEINFO)
set(arg_TYPEINFO "plugins.qmltypes")
endif()
@@ -152,8 +146,6 @@ function(qt_internal_add_qml_module target)
OPTIONAL_IMPORTS "${arg_OPTIONAL_IMPORTS}"
TYPEINFO "${arg_TYPEINFO}"
DO_NOT_INSTALL_METADATA
- INSTALL_QML_FILES
- ${qml_module_build_dir}
INSTALL_LOCATION "${qml_module_install_dir}"
DEPENDENCIES ${arg_DEPENDENCIES}
RESOURCE_EXPORT "${INSTALL_CMAKE_NAMESPACE}${target}Targets"