From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
To: buildroot@buildroot.org
Cc: Dario Binacchi <dario.binacchi@amarulasolutions.com>,
Andrea Ricchi <andrea.ricchi@amarulasolutions.com>,
Roy Kollen Svendsen <roykollensvendsen@gmail.com>,
Angelo Compagnucci <angelo.compagnucci@gmail.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Jesse Van Gavere <jesseevg@gmail.com>,
richard.genoud@bootlin.com
Subject: [Buildroot] [PATCH v5 5/6] package/qwt: enable build with Qt6
Date: Tue, 8 Sep 2026 16:12:52 +0200 [thread overview]
Message-ID: <20260908141253.1556634-6-dario.binacchi@amarulasolutions.com> (raw)
In-Reply-To: <20260908141253.1556634-1-dario.binacchi@amarulasolutions.com>
Version 6.3.0 added support for Qt6, so enable building Qwt with Qt6 as
well.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
Changes v4 -> v5:
- OpenGL option depends on BR2_PACKAGE_QT6_GL_SUPPORTS
package/qwt/Config.in | 22 ++++++++++++++--------
package/qwt/qwt.mk | 4 ++++
2 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/package/qwt/Config.in b/package/qwt/Config.in
index 736ccc2a5ea5..7b0e068ad131 100644
--- a/package/qwt/Config.in
+++ b/package/qwt/Config.in
@@ -1,9 +1,13 @@
config BR2_PACKAGE_QWT
bool "qwt"
- depends on BR2_PACKAGE_QT5
- select BR2_PACKAGE_QT5BASE_GUI
- select BR2_PACKAGE_QT5BASE_WIDGETS # printsupport
- select BR2_PACKAGE_QT5BASE_CONCURRENT
+ depends on BR2_PACKAGE_QT5 || BR2_PACKAGE_QT6
+ select BR2_PACKAGE_QT5BASE_GUI if BR2_PACKAGE_QT5
+ select BR2_PACKAGE_QT5BASE_WIDGETS if BR2_PACKAGE_QT5 # printsupport
+ select BR2_PACKAGE_QT5BASE_CONCURRENT if BR2_PACKAGE_QT5
+ select BR2_PACKAGE_QT6BASE_GUI if BR2_PACKAGE_QT6
+ select BR2_PACKAGE_QT6BASE_WIDGETS if BR2_PACKAGE_QT6
+ select BR2_PACKAGE_QT6BASE_PRINTSUPPORT if BR2_PACKAGE_QT6
+ select BR2_PACKAGE_QT6BASE_CONCURRENT if BR2_PACKAGE_QT6
help
Qwt is a graphics extension to the Qt GUI application
framework. It provides a 2D plotting widget and more.
@@ -14,15 +18,17 @@ if BR2_PACKAGE_QWT
config BR2_PACKAGE_QWT_SVG
bool "SVG support"
- select BR2_PACKAGE_QT5SVG
+ select BR2_PACKAGE_QT5SVG if BR2_PACKAGE_QT5
+ select BR2_PACKAGE_QT6SVG if BR2_PACKAGE_QT6
config BR2_PACKAGE_QWT_MATHML
bool "MathML support"
config BR2_PACKAGE_QWT_OPENGL
bool "OpenGL support"
- depends on BR2_PACKAGE_QT5_GL_AVAILABLE
- select BR2_PACKAGE_QT5BASE_OPENGL
- select BR2_PACKAGE_QT5BASE_OPENGL_LIB
+ depends on BR2_PACKAGE_QT5_GL_AVAILABLE || BR2_PACKAGE_QT6_GL_SUPPORTS
+ select BR2_PACKAGE_QT5BASE_OPENGL if BR2_PACKAGE_QT5
+ select BR2_PACKAGE_QT5BASE_OPENGL_LIB if BR2_PACKAGE_QT5
+ select BR2_PACKAGE_QT6BASE_OPENGL if BR2_PACKAGE_QT6
endif
diff --git a/package/qwt/qwt.mk b/package/qwt/qwt.mk
index 67292ee025be..0e835c700e16 100644
--- a/package/qwt/qwt.mk
+++ b/package/qwt/qwt.mk
@@ -18,8 +18,12 @@ QWT_CONFIG += -e 's%/features%/mkspecs/features%'
ifeq ($(BR2_PACKAGE_QWT_SVG),y)
QWT_CONFIG += -e 's/^.*QWT_CONFIG.*QwtSvg.*$$/QWT_CONFIG += QwtSvg/'
+ifeq ($(BR2_PACKAGE_QT5),y)
QWT_DEPENDENCIES += qt5svg
else
+QWT_DEPENDENCIES += qt6svg
+endif
+else
QWT_CONFIG += -e 's/^.*QWT_CONFIG.*QwtSvg.*$$/\# QWT_CONFIG += QwtSvg/'
endif
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-09-08 14:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-08 14:12 [Buildroot] [PATCH v5 0/6] Support qmake for Qt6 Dario Binacchi
2026-09-08 14:12 ` [Buildroot] [PATCH v5 1/6] package/qt6: Add qmake functionality Dario Binacchi
2026-09-08 14:12 ` [Buildroot] [PATCH v5 2/6] package/qt6: add QT6_QT_CONF_FIXUP hook Dario Binacchi
2026-09-08 14:12 ` [Buildroot] [PATCH v5 3/6] package/qwt: bump to version 6.3.0 Dario Binacchi
2026-09-08 14:12 ` [Buildroot] [PATCH v5 4/6] package/pkg-qmake: support Qt6 Dario Binacchi
2026-09-08 14:12 ` Dario Binacchi [this message]
2026-09-08 14:12 ` [Buildroot] [PATCH v5 6/6] package/cutekeyboard: enable build with Qt6 Dario Binacchi
2026-09-10 9:52 ` Andrea Ricchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260908141253.1556634-6-dario.binacchi@amarulasolutions.com \
--to=dario.binacchi@amarulasolutions.com \
--cc=andrea.ricchi@amarulasolutions.com \
--cc=angelo.compagnucci@gmail.com \
--cc=buildroot@buildroot.org \
--cc=jesseevg@gmail.com \
--cc=richard.genoud@bootlin.com \
--cc=roykollensvendsen@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox