aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2024-10-22 12:58:16 +0200
committerQt Cherry-pick Bot <[email protected]>2024-10-25 07:47:06 +0000
commitab8cf69017fe95034c542e01b2c8cf2e9ce3dc2e (patch)
tree7ba55fc371b6b36937f2dbf5a3cf58709bfb6f45
parent26ccb008194c319c00391411b2fae58f47c0de79 (diff)
Examples: Make qquickwidgetvswindow depend on QtQuick
It uses QtQuick types in C++. For that to transpire to QML tooling we need to declare a dependency. Change-Id: Icede50c638428062f392351ba590cf0f8f2740ee Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 40a96513ba92ebd35e25af0e86b329712c7bdd98) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
-rw-r--r--examples/quick/quickwidgets/qquickwidgetversuswindow_opengl/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/quick/quickwidgets/qquickwidgetversuswindow_opengl/CMakeLists.txt b/examples/quick/quickwidgets/qquickwidgetversuswindow_opengl/CMakeLists.txt
index 16a9501e6c..864278f8af 100644
--- a/examples/quick/quickwidgets/qquickwidgetversuswindow_opengl/CMakeLists.txt
+++ b/examples/quick/quickwidgets/qquickwidgetversuswindow_opengl/CMakeLists.txt
@@ -30,6 +30,7 @@ qt_add_qml_module(qquickwidgetversuswindow_opengl
QML_FILES test.qml
RESOURCE_PREFIX /qquickwidgetversuswindow_opengl
NO_RESOURCE_TARGET_PATH
+ DEPENDENCIES QtQuick
)
qt6_add_shaders(qquickwidgetversuswindow_opengl "shaders"