aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlbasicapp
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@qt.io>2021-08-02 14:39:43 +1000
committerCraig Scott <craig.scott@qt.io>2021-08-03 12:28:56 +1000
commit73c76005e64d92ff5e3ef7d2a578b1d7a14b3d5f (patch)
tree77d90848722e66965d3596cb7a3ea4e2f60e05d0 /tests/auto/qml/qmlbasicapp
parent4b7d03190559e3d04383e5702b720e3075e11fa3 (diff)
Add NO_PLUGIN option to qt6_add_qml_module()
The new option allows the caller to state more clearly that they do not want a plugin at all. Previously, the NO_CREATE_PLUGIN_TARGET option had to be given to prevent the command from trying to create a plugin target, but that option is meant for when the project will create the plugin target later. Now that the caller has a way to explicitly say they don't want a plugin, require PLUGIN_TARGET to be given if NO_CREATE_PLUGIN_TARGET is present. This forces the project to provide the name of the plugin target that they will be responsible for creating. Fixes: QTBUG-95141 Pick-to: 6.2 Change-Id: I84e036074f3e2785f17a8d33ad87ee0b7e016173 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlbasicapp')
-rw-r--r--tests/auto/qml/qmlbasicapp/CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/qml/qmlbasicapp/CMakeLists.txt b/tests/auto/qml/qmlbasicapp/CMakeLists.txt
index 8ced5b5ba4..269cc35980 100644
--- a/tests/auto/qml/qmlbasicapp/CMakeLists.txt
+++ b/tests/auto/qml/qmlbasicapp/CMakeLists.txt
@@ -9,7 +9,6 @@ qt_internal_add_test(tst_qmlbasicapp
qt6_add_qml_module(tst_qmlbasicapp
VERSION 1.0
URI "BasicApp"
- NO_CREATE_PLUGIN_TARGET
QML_FILES
main.qml
)