summaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2024-04-11 13:56:51 +0200
committerPeter Varga <pvarga@inf.u-szeged.hu>2024-04-18 10:58:18 +0200
commite4632beaa2e7411595bc4398bba3882668cf3851 (patch)
tree6469e73161996b80269e7d09873da68d9c6fc6b0 /tests/manual
parent1eee86a1850407e76897fbeb565af1346db71ce3 (diff)
Fix -no-opengl build
Pick-to: 6.7 Change-Id: Ibb6cb75a25f9b6d69ec03bc2c6734a869ab21899 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/widgets/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/manual/widgets/CMakeLists.txt b/tests/manual/widgets/CMakeLists.txt
index 2baf669d8..7c19f9e43 100644
--- a/tests/manual/widgets/CMakeLists.txt
+++ b/tests/manual/widgets/CMakeLists.txt
@@ -1,7 +1,9 @@
add_subdirectory(inputmethods)
add_subdirectory(geolocation)
add_subdirectory(touchbrowser)
-add_subdirectory(webgl)
+if(QT_FEATURE_opengl)
+ add_subdirectory(webgl)
+endif()
if(TARGET Qt6::HttpServer)
add_subdirectory(webrtc)
endif()