summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/qt/Config.in14
1 files changed, 11 insertions, 3 deletions
diff --git a/package/qt/Config.in b/package/qt/Config.in
index 14b13cec20..91eb208475 100644
--- a/package/qt/Config.in
+++ b/package/qt/Config.in
@@ -350,14 +350,20 @@ config BR2_PACKAGE_QT_PHONON_BACKEND
Build the platform Phonon plugin.
If unsure, say n.
+config BR2_PACKAGE_QT_OPENGL
+ bool "OpenGL support"
+ depends on (BR2_PACKAGE_HAS_LIBGL && BR2_PACKAGE_QT_X11) || \
+ (BR2_PACKAGE_HAS_LIBEGL && BR2_PACKAGE_HAS_LIBGLES)
+ help
+ This option enables OpenGL support.
+
+if BR2_PACKAGE_QT_OPENGL
+
choice
prompt "OpenGL API"
help
Select OpenGL API.
-config BR2_PACKAGE_QT_OPENGL_NONE
- bool "No OpenGL support"
-
comment "Desktop OpenGL not available (needs Qt standard (X11))"
depends on !BR2_PACKAGE_QT_X11
@@ -377,6 +383,8 @@ config BR2_PACKAGE_QT_OPENGL_ES
endchoice
+endif # BR2_PACKAGE_QT_OPENGL
+
endif
config BR2_PACKAGE_QT_DBUS
OpenPOWER on IntegriCloud