diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-05-28 17:04:10 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-05-29 10:01:40 +0200 |
commit | a7c7e7ceaa47b915748f6701c5b558771682d532 (patch) | |
tree | 895a2a8e12a346603589da8953811c2a560c478b /tools/qml | |
parent | 4e156dee3863a6319c2bc44fd47b6a6738e0503a (diff) |
CMake: Don't install .qmltypes for Qt tests, examples and tools
that don't have an explicit QT_QML_MODULE_INSTALL_DIR path
specified. We don't want to pollute the Qt qml import path with
these files.
Task-number: QTBUG-84403
Change-Id: I768267e0e79daa8090d882c301648cce14e1a809
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tools/qml')
-rw-r--r-- | tools/qml/.prev_CMakeLists.txt | 1 | ||||
-rw-r--r-- | tools/qml/CMakeLists.txt | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/tools/qml/.prev_CMakeLists.txt b/tools/qml/.prev_CMakeLists.txt index c3f08cfaed..0c291d5292 100644 --- a/tools/qml/.prev_CMakeLists.txt +++ b/tools/qml/.prev_CMakeLists.txt @@ -64,7 +64,6 @@ qt_extend_target(qml CONDITION QT_FEATURE_qml_debug ) set_target_properties(qml PROPERTIES - QT_QML_MODULE_INSTALL_QMLTYPES TRUE QT_QML_MODULE_VERSION 1.0 QT_QML_MODULE_URI QmlRuntime.Config ) diff --git a/tools/qml/CMakeLists.txt b/tools/qml/CMakeLists.txt index eb040766b5..d4f803ff04 100644 --- a/tools/qml/CMakeLists.txt +++ b/tools/qml/CMakeLists.txt @@ -81,7 +81,6 @@ qt_extend_target(qml CONDITION QT_FEATURE_qml_debug ) set_target_properties(qml PROPERTIES - QT_QML_MODULE_INSTALL_QMLTYPES TRUE QT_QML_MODULE_VERSION 1.0 QT_QML_MODULE_URI QmlRuntime.Config ) |