qt5base: only show OPENGL choice if qt5base-gui is selected 91/head
authorFlorian Eckert <[email protected]>
Tue, 22 Jul 2025 11:00:52 +0000 (13:00 +0200)
committerFlorian Eckert <[email protected]>
Tue, 22 Jul 2025 11:24:23 +0000 (13:24 +0200)
The choice for the config option 'BUILD_qt5base-gui_OPENGL_OPENGLES2'
and 'BUILD_qt5base-gui_OPENGL_NONE' should only be visible if 'qt5base-gui'
is selected. This also applies to the default value if 'qt5base-gui' is
not selected.

Signed-off-by: Florian Eckert <[email protected]>
frameworks/qt5/qt5base/Config.in

index 15663c74f27bfe93772cfcf4e37f4e589826a024..aa89719b4322faf9e0f1ce00c72f31fe63baa6a7 100644 (file)
@@ -18,6 +18,7 @@ config BUILD_qt5base-gui_DRM
 choice
     prompt "Which OpenGL variant to use"
     default BUILD_qt5base-gui_OPENGL_NONE
+    depends on PACKAGE_qt5base-gui
 
 config BUILD_qt5base-gui_OPENGL_OPENGLES2
     bool "es2"