diff mbox series

[2/2] package/qt6: add QT6_GL_AVAILABLE variable

Message ID 20220825075334.3921399-1-jesseevg@gmail.com
State Changes Requested
Headers show
Series None | expand

Commit Message

Jesse Van Gavere Aug. 25, 2022, 7:53 a.m. UTC
My apologies, I forgot to add this variable in the previous patch, it
is part of the qt6 extending as needed for GUI/OpenGL functionality

Signed-off-by: Jesse Van Gavere <jesseevg@gmail.com>
---
 package/qt6/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Thomas Petazzoni Aug. 25, 2022, 8:34 a.m. UTC | #1
Hello Jesse,

On Thu, 25 Aug 2022 09:53:34 +0200
Jesse Van Gavere <jesseevg@gmail.com> wrote:

> My apologies, I forgot to add this variable in the previous patch, it
> is part of the qt6 extending as needed for GUI/OpenGL functionality
> 
> Signed-off-by: Jesse Van Gavere <jesseevg@gmail.com>

Thanks for this patch. However, if your previous patch (not yet merged)
has a mistake, do not send a fixup patch. Instead, send a new iteration
of your patch, with the fix included. You will have to set a proper
version for this new iteration, like [PATCH v2], by using "git
format-patch -v2", as well as adding a changelog. See
https://buildroot.org/downloads/manual/manual.html#submitting-patches

Thanks!

Thomas
diff mbox series

Patch

diff --git a/package/qt6/Config.in b/package/qt6/Config.in
index 4b2b9a1174..32f32eb162 100644
--- a/package/qt6/Config.in
+++ b/package/qt6/Config.in
@@ -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_AVAILABLE
+	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