package/qt6/qt6base: add opengl support
commit: https://git.buildroot.net/buildroot/commit/?id=beeae174f9fffe6ea9c50a717a9b45c71ed45ea9
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next
Signed-off-by Angelo Compagnucci <[email protected]>
Signed-off-by Thomas Petazzoni <[email protected]>
--- package/qt6/Config.in | 5 +++++ package/qt6/qt6base/Config.in | 42 +++++++++++++++++++++++++++++++++++++++++- package/qt6/qt6base/qt6base.mk | 18 +++++++++++++++++- 3 files changed, 63 insertions(+), 2 deletions(-)
package/qt6/Config.in +5 -0
@@ -12,6 +12,11 @@ config BR2_PACKAGE_QT6_ARCH_SUPPORTS default y if BR2_sparc64 depends on BR2_USE_MMU +config BR2_PACKAGE_QT6_GL_SUPPORTS + bool + default y + depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES + comment "qt6 needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 8, host gcc >= 8" depends on !BR2_PACKAGE_QT5 depends on BR2_PACKAGE_QT6_ARCH_SUPPORTS
package/qt6/qt6base/Config.in +41 -1
54 lines not on this page · raw message
package/qt6/qt6base/qt6base.mk +17 -1
@@ -144,7 +144,6 @@ ifeq ($(BR2_PACKAGE_QT6BASE_GUI),y) QT6BASE_CONF_OPTS += \ -DFEATURE_gui=ON \ -DFEATURE_freetype=ON \ - -DINPUT_opengl=no \ -DFEATURE_vulkan=OFF QT6BASE_DEPENDENCIES += freetype
@@ -230,6 +229,23 @@ else QT6BASE_CONF_OPTS += -DFEATURE_widgets=OFF endif +ifeq ($(BR2_PACKAGE_QT6BASE_EGLFS),y) +QT6BASE_CONF_OPTS += -DFEATURE_egl=ON -DFEATURE_eglfs=ON +QT6BASE_DEPENDENCIES += libegl libgbm +else +QT6BASE_CONF_OPTS += -DFEATURE_eglfs=OFF +endif + +ifeq ($(BR2_PACKAGE_QT6BASE_OPENGL_DESKTOP),y) +QT6BASE_CONF_OPTS += -DFEATURE_opengl=ON -DFEATURE_opengl_desktop=ON +QT6BASE_DEPENDENCIES += libgl +else ifeq ($(BR2_PACKAGE_QT6BASE_OPENGL_ES2),y) +QT6BASE_CONF_OPTS += -DFEATURE_opengl=ON -DFEATURE_opengles2=ON +QT6BASE_DEPENDENCIES += libgles +else +QT6BASE_CONF_OPTS += -DFEATURE_opengl=OFF -DINPUT_opengl=no +endif + else QT6BASE_CONF_OPTS += -DFEATURE_gui=OFF endif
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot