Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 0/8] package/qt6: bump version to 6.12.1, plus fixes
@ 2026-12-01 13:07 Roy Kollen Svendsen
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 1/8] package/qt6/qt6positioning: select network for QML Roy Kollen Svendsen
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Roy Kollen Svendsen @ 2026-12-01 13:07 UTC (permalink / raw)
  To: buildroot
  Cc: Zoltan Gyarmati, Christian Hitz, Bernd Kuhls, Roy Kollen Svendsen,
	Angelo Compagnucci, Thomas Petazzoni, Baxiche Su

This series bumps Qt6 to 6.12.1 and fixes four latent package issues, and
extends the Qt6 runtime-test coverage. v2 supersedes the v1 series sent
2026-12-01.

v2 changes since v1:
- Added 2 patches from Angelo Compagnucci's series (sent 2026-11-22):
  qt6positioning selects network for QML, and Qt6 now selects
  BR2_HOST_CMAKE_AT_LEAST_3_25 (Qt 6.12 requires CMake >= 3.25). They are
  re-sent here in his name, with his Signed-off-by and mine.
- qt6multimedia / qt6languageserver license metadata resolved against
  current master (it already carried the newer, more complete license
  lists). The bumped tarball hashes were validated with
  `make <pkg>-source` against the 6.12.1 tarballs.

Note for reviewers: patch 7/8 bumps to 6.12.1, which supersedes Angelo
Compagnucci's pending security bump to 6.12.0 (6.12.1 is a patch release
built on 6.12.0 and includes its security fixes). Patches 1/8 and 2/8 are
taken from his series.

Testing: Qt 6.12.1 built and ran on both product panels (mxxf1 armv7 and
ex7xxm aarch64; hmi-service + weston up), plus a test-pkg matrix across
bootlin toolchains including qt6quick3d on aarch64-glibc.

Angelo Compagnucci (2):
  package/qt6/qt6positioning: select network for QML
  package/qt6: select BR2_HOST_CMAKE_AT_LEAST_3_25

Roy Kollen Svendsen (6):
  package/qt6/qt6multimedia: select qt6base-concurrent
  package/qt6/qt6quick3d: fix host build
  package/qt6/qt6quick3d: select qt6base-concurrent
  package/qt6/qt6opcua: add host dependencies
  package/qt6: bump version to 6.12.1
  support/testing: add Qt6 runtime tests

 package/qt6/Config.in                         |   1 +
 package/qt6/qt6.mk                            |   4 +-
 package/qt6/qt6base/qt6base.hash              |   4 +-
 package/qt6/qt6charts/qt6charts.hash          |   4 +-
 package/qt6/qt6coap/qt6coap.hash              |   2 +-
 .../qt6/qt6core5compat/qt6core5compat.hash    |   4 +-
 .../qt6/qt6declarative/qt6declarative.hash    |   4 +-
 package/qt6/qt6graphs/qt6graphs.hash          |   4 +-
 package/qt6/qt6grpc/qt6grpc.hash              |   4 +-
 .../qt6languageserver/qt6languageserver.hash  |   4 +-
 .../qt6languageserver/qt6languageserver.mk    |   4 +-
 package/qt6/qt6mqtt/qt6mqtt.hash              |   2 +-
 package/qt6/qt6multimedia/Config.in           |   5 +-
 package/qt6/qt6multimedia/qt6multimedia.hash  |   4 +-
 package/qt6/qt6opcua/qt6opcua.hash            |   2 +-
 package/qt6/qt6opcua/qt6opcua.mk              |   3 +
 package/qt6/qt6positioning/Config.in          |   2 +
 .../qt6/qt6positioning/qt6positioning.hash    |   4 +-
 package/qt6/qt6quick3d/Config.in              |   1 +
 package/qt6/qt6quick3d/qt6quick3d.hash        |   6 +-
 package/qt6/qt6quick3d/qt6quick3d.mk          |  10 ++
 .../qt6quicktimeline/qt6quicktimeline.hash    |   4 +-
 package/qt6/qt6scxml/qt6scxml.hash            |   4 +-
 package/qt6/qt6serialbus/qt6serialbus.hash    |   4 +-
 package/qt6/qt6serialport/qt6serialport.hash  |   4 +-
 .../qt6/qt6shadertools/qt6shadertools.hash    |   4 +-
 package/qt6/qt6svg/qt6svg.hash                |   4 +-
 package/qt6/qt6tools/qt6tools.hash            |   4 +-
 .../qt6virtualkeyboard.hash                   |   4 +-
 package/qt6/qt6wayland/qt6wayland.hash        |   5 +-
 package/qt6/qt6wayland/qt6wayland.mk          |   2 +-
 package/qt6/qt6websockets/qt6websockets.hash  |   4 +-
 .../tests/package/br2-external/qt6/Config.in  |   1 +
 .../package/br2-external/qt6/external.desc    |   1 +
 .../package/br2-external/qt6/external.mk      |   1 +
 .../qt6/package/qt6-testapp/CMakeLists.txt    |  17 +++
 .../qt6/package/qt6-testapp/Config.in         |  16 +++
 .../qt6/package/qt6-testapp/main-gui.cpp      |  21 ++++
 .../qt6/package/qt6-testapp/main.cpp          |  11 ++
 .../qt6/package/qt6-testapp/qt6-testapp.mk    |  20 ++++
 support/testing/tests/package/test_qt6base.py | 111 ++++++++++++++++++
 41 files changed, 269 insertions(+), 51 deletions(-)
 create mode 100644 support/testing/tests/package/br2-external/qt6/Config.in
 create mode 100644 support/testing/tests/package/br2-external/qt6/external.desc
 create mode 100644 support/testing/tests/package/br2-external/qt6/external.mk
 create mode 100644 support/testing/tests/package/br2-external/qt6/package/qt6-testapp/CMakeLists.txt
 create mode 100644 support/testing/tests/package/br2-external/qt6/package/qt6-testapp/Config.in
 create mode 100644 support/testing/tests/package/br2-external/qt6/package/qt6-testapp/main-gui.cpp
 create mode 100644 support/testing/tests/package/br2-external/qt6/package/qt6-testapp/main.cpp
 create mode 100644 support/testing/tests/package/br2-external/qt6/package/qt6-testapp/qt6-testapp.mk
 create mode 100644 support/testing/tests/package/test_qt6base.py

-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH v2 1/8] package/qt6/qt6positioning: select network for QML
  2026-12-01 13:07 [Buildroot] [PATCH v2 0/8] package/qt6: bump version to 6.12.1, plus fixes Roy Kollen Svendsen
@ 2026-12-01 13:07 ` Roy Kollen Svendsen
  2026-12-01 13:36   ` Thomas Petazzoni via buildroot
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 2/8] package/qt6: select BR2_HOST_CMAKE_AT_LEAST_3_25 Roy Kollen Svendsen
                   ` (6 subsequent siblings)
  7 siblings, 1 reply; 12+ messages in thread
From: Roy Kollen Svendsen @ 2026-12-01 13:07 UTC (permalink / raw)
  To: buildroot
  Cc: Zoltan Gyarmati, Christian Hitz, Bernd Kuhls, Roy Kollen Svendsen,
	Angelo Compagnucci, Thomas Petazzoni, Baxiche Su

From: Angelo Compagnucci <angelo.compagnucci@gmail.com>

The QML module of qt6positioning is built when qt6declarative has the
Quick module. Its PositionSource type uses QTcpSocket, for NMEA data
over TCP. It doesn't link to QtNetwork itself: it gets it through
QtQml and QtQuick, only when qt6base has network support.

Without BR2_PACKAGE_QT6BASE_NETWORK, the build fails:

  qdeclarativepositionsource_p.h:22:10: fatal error: QtNetwork/QAbstractSocket: No such file or directory

Select BR2_PACKAGE_QT6BASE_NETWORK when the QML module is built.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
---
 package/qt6/qt6positioning/Config.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/qt6/qt6positioning/Config.in b/package/qt6/qt6positioning/Config.in
index 37d2a2d273..e0ce6442d6 100644
--- a/package/qt6/qt6positioning/Config.in
+++ b/package/qt6/qt6positioning/Config.in
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_QT6POSITIONING
 	bool "qt6positioning"
+	# The QML module uses QTcpSocket
+	select BR2_PACKAGE_QT6BASE_NETWORK if BR2_PACKAGE_QT6DECLARATIVE_QUICK
 	help
 	  This package provides Qt6 Positioning:
 
-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH v2 2/8] package/qt6: select BR2_HOST_CMAKE_AT_LEAST_3_25
  2026-12-01 13:07 [Buildroot] [PATCH v2 0/8] package/qt6: bump version to 6.12.1, plus fixes Roy Kollen Svendsen
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 1/8] package/qt6/qt6positioning: select network for QML Roy Kollen Svendsen
@ 2026-12-01 13:07 ` Roy Kollen Svendsen
  2026-12-01 13:37   ` Thomas Petazzoni via buildroot
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 3/8] package/qt6/qt6multimedia: select qt6base-concurrent Roy Kollen Svendsen
                   ` (5 subsequent siblings)
  7 siblings, 1 reply; 12+ messages in thread
From: Roy Kollen Svendsen @ 2026-12-01 13:07 UTC (permalink / raw)
  To: buildroot
  Cc: Zoltan Gyarmati, Christian Hitz, Bernd Kuhls, Roy Kollen Svendsen,
	Angelo Compagnucci, Thomas Petazzoni, Baxiche Su

From: Angelo Compagnucci <angelo.compagnucci@gmail.com>

Qt 6.12 needs CMake >= 3.25.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
---
 package/qt6/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/qt6/Config.in b/package/qt6/Config.in
index f3a540e9f8..7aea40172e 100644
--- a/package/qt6/Config.in
+++ b/package/qt6/Config.in
@@ -35,6 +35,7 @@ menuconfig BR2_PACKAGE_QT6
 	depends on BR2_USE_WCHAR
 	depends on !BR2_PACKAGE_QT5
 	select BR2_PACKAGE_QT6BASE
+	select BR2_HOST_CMAKE_AT_LEAST_3_25 # Qt 6.12 needs CMake >= 3.25
 	help
 	  This option enables the Qt6 framework. Sub-options allow to
 	  select which modules should be built.
-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH v2 3/8] package/qt6/qt6multimedia: select qt6base-concurrent
  2026-12-01 13:07 [Buildroot] [PATCH v2 0/8] package/qt6: bump version to 6.12.1, plus fixes Roy Kollen Svendsen
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 1/8] package/qt6/qt6positioning: select network for QML Roy Kollen Svendsen
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 2/8] package/qt6: select BR2_HOST_CMAKE_AT_LEAST_3_25 Roy Kollen Svendsen
@ 2026-12-01 13:07 ` Roy Kollen Svendsen
  2026-12-01 13:39   ` Thomas Petazzoni via buildroot
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 4/8] package/qt6/qt6quick3d: fix host build Roy Kollen Svendsen
                   ` (4 subsequent siblings)
  7 siblings, 1 reply; 12+ messages in thread
From: Roy Kollen Svendsen @ 2026-12-01 13:07 UTC (permalink / raw)
  To: buildroot
  Cc: Zoltan Gyarmati, Christian Hitz, Bernd Kuhls, Roy Kollen Svendsen,
	Angelo Compagnucci, Thomas Petazzoni, Baxiche Su

qt6multimedia links Qt::Concurrent unconditionally since at least
6.11.1, but BR2_PACKAGE_QT6BASE_CONCURRENT was only selected by the
FFMPEG sub-option. A configuration with qt6multimedia enabled and
qt6base built without the concurrent module fails at configure time
with:

  get_target_property() called with non-existent target "Qt6::Concurrent"

Reproducible with the following configuration snippet:

  BR2_PACKAGE_QT6=y
  BR2_PACKAGE_QT6BASE=y
  # BR2_PACKAGE_QT6BASE_CONCURRENT is not set
  BR2_PACKAGE_QT6MULTIMEDIA=y

and:

  ./utils/test-pkg -p qt6multimedia -c <snippet> -T bootlin-aarch64-glibc

Move the select to the top-level qt6multimedia option.

This issue exists since the package was added (553c55e9bd).
Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
---
 package/qt6/qt6multimedia/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/qt6/qt6multimedia/Config.in b/package/qt6/qt6multimedia/Config.in
index 8cdd95f3e8..721152580f 100644
--- a/package/qt6/qt6multimedia/Config.in
+++ b/package/qt6/qt6multimedia/Config.in
@@ -2,6 +2,8 @@ config BR2_PACKAGE_QT6MULTIMEDIA
 	bool "qt6multimedia"
 	select BR2_PACKAGE_QT6BASE_GUI
 	select BR2_PACKAGE_QT6BASE_NETWORK
+	# qt6-multimedia links Qt::Concurrent unconditionally
+	select BR2_PACKAGE_QT6BASE_CONCURRENT
 	select BR2_PACKAGE_QT6SHADERTOOLS
 	help
 	  This package provides Qt6 Multimedia:
@@ -41,10 +43,9 @@ config BR2_PACKAGE_QT6MULTIMEDIA_FFMPEG
 	# V4L2_PIX_FMT_BGRA32
 	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
 	# qt6-multimedia ffmpeg plugin needs
-	# qt6base-concurrent, PulseAudio and ffmpeg-swcale.
+	# PulseAudio and ffmpeg-swcale.
 	select BR2_PACKAGE_FFMPEG
 	select BR2_PACKAGE_FFMPEG_SWSCALE
-	select BR2_PACKAGE_QT6BASE_CONCURRENT
 	select BR2_PACKAGE_QT6MULTIMEDIA_PULSEAUDIO
 	# libxext/libxrandr are needed for ffmpeg plugin to build with
 	# X11 support:
-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH v2 4/8] package/qt6/qt6quick3d: fix host build
  2026-12-01 13:07 [Buildroot] [PATCH v2 0/8] package/qt6: bump version to 6.12.1, plus fixes Roy Kollen Svendsen
                   ` (2 preceding siblings ...)
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 3/8] package/qt6/qt6multimedia: select qt6base-concurrent Roy Kollen Svendsen
@ 2026-12-01 13:07 ` Roy Kollen Svendsen
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 5/8] package/qt6/qt6quick3d: select qt6base-concurrent Roy Kollen Svendsen
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 12+ messages in thread
From: Roy Kollen Svendsen @ 2026-12-01 13:07 UTC (permalink / raw)
  To: buildroot
  Cc: Zoltan Gyarmati, Christian Hitz, Bernd Kuhls, Roy Kollen Svendsen,
	Angelo Compagnucci, Thomas Petazzoni, Baxiche Su

The host variant of qt6quick3d builds the balsam tool that the target
build needs, but the host build was broken:

- it had no declared dependencies, so host-qt6base was not built first
  and the configure fell back to the system Qt installation (if any),
  failing with a version mismatch;
- the shared CONF_OPTS (with -DQT_HOST_PATH=$(HOST_DIR)) leaked into the
  host build, which makes Qt skip building its tools (Qt6::balsam is
  then never produced);
- host-qt6declarative was not a dependency, so Qt::Quick was not
  available when the host build configured, and the whole module was
  skipped ("Skipping the build as the condition TARGET Qt::Quick is
  not met").

Declare the host dependencies and give the host variant its own
CONF_OPTS without QT_HOST_PATH, like the other qt6 packages do.

The host build has been broken since the package was added (36925cb53d).
Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
---
 package/qt6/qt6quick3d/qt6quick3d.mk | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/package/qt6/qt6quick3d/qt6quick3d.mk b/package/qt6/qt6quick3d/qt6quick3d.mk
index cd31388529..550f413348 100644
--- a/package/qt6/qt6quick3d/qt6quick3d.mk
+++ b/package/qt6/qt6quick3d/qt6quick3d.mk
@@ -56,5 +56,15 @@ else
 QT6QUICK3D_CONF_OPTS += -DFEATURE_system_zlib=OFF
 endif
 
+HOST_QT6QUICK3D_DEPENDENCIES = \
+	host-qt6base \
+	host-qt6shadertools \
+	host-qt6declarative
+
+HOST_QT6QUICK3D_CONF_OPTS = \
+	-DBUILD_WITH_PCH=OFF \
+	-DQT_BUILD_EXAMPLES=OFF \
+	-DQT_BUILD_TESTS=OFF
+
 $(eval $(cmake-package))
 $(eval $(host-cmake-package))
-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH v2 5/8] package/qt6/qt6quick3d: select qt6base-concurrent
  2026-12-01 13:07 [Buildroot] [PATCH v2 0/8] package/qt6: bump version to 6.12.1, plus fixes Roy Kollen Svendsen
                   ` (3 preceding siblings ...)
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 4/8] package/qt6/qt6quick3d: fix host build Roy Kollen Svendsen
@ 2026-12-01 13:07 ` Roy Kollen Svendsen
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 6/8] package/qt6/qt6opcua: add host dependencies Roy Kollen Svendsen
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 12+ messages in thread
From: Roy Kollen Svendsen @ 2026-12-01 13:07 UTC (permalink / raw)
  To: buildroot
  Cc: Zoltan Gyarmati, Christian Hitz, Bernd Kuhls, Roy Kollen Svendsen,
	Angelo Compagnucci, Thomas Petazzoni, Baxiche Su

qt6quick3d links Qt::Concurrent in its Quick3DRuntimeRender module, but
BR2_PACKAGE_QT6BASE_CONCURRENT was not selected for the target; only
the host variant was. A configuration with qt6quick3d enabled and
qt6base built without the concurrent module fails at configure time:

  Failed to find required Qt component "Concurrent".

Select the target concurrent module as well.

The missing concurrent select exists since the package was added (36925cb53d).
Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
---
 package/qt6/qt6quick3d/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/qt6/qt6quick3d/Config.in b/package/qt6/qt6quick3d/Config.in
index 3ec267734f..7ba07f0c54 100644
--- a/package/qt6/qt6quick3d/Config.in
+++ b/package/qt6/qt6quick3d/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_QT6QUICK3D
 	select BR2_PACKAGE_HOST_QT6BASE_CONCURRENT # Host Quick3DRuntimeRender
 	select BR2_PACKAGE_HOST_QT6BASE_GUI
 	select BR2_PACKAGE_HOST_QT6BASE_WIDGETS
+	select BR2_PACKAGE_QT6BASE_CONCURRENT # Quick3DRuntimeRender
 	select BR2_PACKAGE_QT6DECLARATIVE
 	select BR2_PACKAGE_QT6DECLARATIVE_QUICK
 	help
-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH v2 6/8] package/qt6/qt6opcua: add host dependencies
  2026-12-01 13:07 [Buildroot] [PATCH v2 0/8] package/qt6: bump version to 6.12.1, plus fixes Roy Kollen Svendsen
                   ` (4 preceding siblings ...)
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 5/8] package/qt6/qt6quick3d: select qt6base-concurrent Roy Kollen Svendsen
@ 2026-12-01 13:07 ` Roy Kollen Svendsen
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 7/8] package/qt6: bump version to 6.12.1 Roy Kollen Svendsen
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 8/8] support/testing: add Qt6 runtime tests Roy Kollen Svendsen
  7 siblings, 0 replies; 12+ messages in thread
From: Roy Kollen Svendsen @ 2026-12-01 13:07 UTC (permalink / raw)
  To: buildroot
  Cc: Zoltan Gyarmati, Christian Hitz, Bernd Kuhls, Roy Kollen Svendsen,
	Angelo Compagnucci, Thomas Petazzoni, Baxiche Su

The host variant of qt6opcua has no declared dependencies, so
host-qt6base is not built first and the configure falls back to the
system Qt installation (if any), failing with a version mismatch:

  Could not find a configuration file for package "Qt6" that is
  compatible with requested version "6.12.1".
  The following configuration files were considered but not accepted:
    /usr/lib/cmake/Qt6/Qt6Config.cmake, version: 6.11.2

Declare the host dependency, like the other qt6 packages do.

The host build has been broken since the package was added (7d9ada3c7c).
Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
---
 package/qt6/qt6opcua/qt6opcua.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/qt6/qt6opcua/qt6opcua.mk b/package/qt6/qt6opcua/qt6opcua.mk
index 28771ba8a5..714e50c0b6 100644
--- a/package/qt6/qt6opcua/qt6opcua.mk
+++ b/package/qt6/qt6opcua/qt6opcua.mk
@@ -36,5 +36,8 @@ ifeq ($(BR2_PACKAGE_OPENSSL),y)
 QT6OPCUA_DEPENDENCIES += openssl
 endif
 
+HOST_QT6OPCUA_DEPENDENCIES = \
+	host-qt6base
+
 $(eval $(cmake-package))
 $(eval $(host-cmake-package))
-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH v2 7/8] package/qt6: bump version to 6.12.1
  2026-12-01 13:07 [Buildroot] [PATCH v2 0/8] package/qt6: bump version to 6.12.1, plus fixes Roy Kollen Svendsen
                   ` (5 preceding siblings ...)
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 6/8] package/qt6/qt6opcua: add host dependencies Roy Kollen Svendsen
@ 2026-12-01 13:07 ` Roy Kollen Svendsen
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 8/8] support/testing: add Qt6 runtime tests Roy Kollen Svendsen
  7 siblings, 0 replies; 12+ messages in thread
From: Roy Kollen Svendsen @ 2026-12-01 13:07 UTC (permalink / raw)
  To: buildroot
  Cc: Zoltan Gyarmati, Christian Hitz, Bernd Kuhls, Roy Kollen Svendsen,
	Angelo Compagnucci, Thomas Petazzoni, Baxiche Su

For details see [1] and [2].

[1] https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/6.12.0/release-note.md
[2] https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/6.12.1/release-note.md

qt6multimedia:
The vendored dr_libs copies are now Unlicense-licensed; add the license
file and update the license summary.

qt6languageserver:
The LSP meta-model was updated to 3.17 and is now MIT-licensed; add the
license file and update the license summary.

qt6wayland:
Qt removed the Qt-GPL-exception-1.0 license file; the tests are now
GPL-3.0-only.

qt6mqtt, qt6opcua, qt6websockets:
The Qt-GPL-exception-1.0 license file is no longer present in these
repositories; drop the stale hash entries.

qt6coap:
Update the git archive hash to 6.12.1.

Build-tested with test-pkg on the bootlin glibc toolchains:
qt6base (aarch64, armv7, x86-64), qt6declarative (armv7),
qt6multimedia (aarch64), qt6wayland (x86-64, with mesa3d),
qt6languageserver (aarch64), qt6svg (x86-64). Runtime-tested in
QEMU: Qt6 core and Qt6 GUI on the offscreen platform.

Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
---
 package/qt6/qt6.mk                                     | 4 ++--
 package/qt6/qt6base/qt6base.hash                       | 4 ++--
 package/qt6/qt6charts/qt6charts.hash                   | 4 ++--
 package/qt6/qt6coap/qt6coap.hash                       | 2 +-
 package/qt6/qt6core5compat/qt6core5compat.hash         | 4 ++--
 package/qt6/qt6declarative/qt6declarative.hash         | 4 ++--
 package/qt6/qt6graphs/qt6graphs.hash                   | 4 ++--
 package/qt6/qt6grpc/qt6grpc.hash                       | 4 ++--
 package/qt6/qt6languageserver/qt6languageserver.hash   | 4 ++--
 package/qt6/qt6languageserver/qt6languageserver.mk     | 4 +++-
 package/qt6/qt6mqtt/qt6mqtt.hash                       | 2 +-
 package/qt6/qt6multimedia/qt6multimedia.hash           | 4 ++--
 package/qt6/qt6opcua/qt6opcua.hash                     | 2 +-
 package/qt6/qt6positioning/qt6positioning.hash         | 4 ++--
 package/qt6/qt6quick3d/qt6quick3d.hash                 | 6 +++---
 package/qt6/qt6quicktimeline/qt6quicktimeline.hash     | 4 ++--
 package/qt6/qt6scxml/qt6scxml.hash                     | 4 ++--
 package/qt6/qt6serialbus/qt6serialbus.hash             | 4 ++--
 package/qt6/qt6serialport/qt6serialport.hash           | 4 ++--
 package/qt6/qt6shadertools/qt6shadertools.hash         | 4 ++--
 package/qt6/qt6svg/qt6svg.hash                         | 4 ++--
 package/qt6/qt6tools/qt6tools.hash                     | 4 ++--
 package/qt6/qt6virtualkeyboard/qt6virtualkeyboard.hash | 4 ++--
 package/qt6/qt6wayland/qt6wayland.hash                 | 5 ++---
 package/qt6/qt6wayland/qt6wayland.mk                   | 2 +-
 package/qt6/qt6websockets/qt6websockets.hash           | 4 ++--
 26 files changed, 50 insertions(+), 49 deletions(-)

diff --git a/package/qt6/qt6.mk b/package/qt6/qt6.mk
index 94ef6df360..00e5b0ac61 100644
--- a/package/qt6/qt6.mk
+++ b/package/qt6/qt6.mk
@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-QT6_VERSION_MAJOR = 6.11
-QT6_VERSION = $(QT6_VERSION_MAJOR).3
+QT6_VERSION_MAJOR = 6.12
+QT6_VERSION = $(QT6_VERSION_MAJOR).1
 QT6_SOURCE_TARBALL_PREFIX = everywhere-src
 QT6_SITE = https://download.qt.io/archive/qt/$(QT6_VERSION_MAJOR)/$(QT6_VERSION)/submodules
 
diff --git a/package/qt6/qt6base/qt6base.hash b/package/qt6/qt6base/qt6base.hash
index 5600cb9937..e535dc9f4b 100644
--- a/package/qt6/qt6base/qt6base.hash
+++ b/package/qt6/qt6base/qt6base.hash
@@ -1,5 +1,5 @@
-# Hash from: https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qtbase-everywhere-src-6.11.3.tar.xz.sha256
-sha256  46de0710b594945a5d446ae44354daa386141c6903c53781b2ca547bc62f8f8f  qtbase-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qtbase-everywhere-src-6.12.1.tar.xz.sha256
+sha256  cd837bb9fd631e20439a04eaa0c2f252f19ad92fdf5adf10229d0fbc2fab2d53  qtbase-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files
 sha256  e3ba223bb1423f0aad8c3dfce0fe3148db48926d41e6fbc3afbbf5ff9e1c89cb  LICENSES/Apache-2.0.txt
diff --git a/package/qt6/qt6charts/qt6charts.hash b/package/qt6/qt6charts/qt6charts.hash
index 016e6d297a..a7f50a1833 100644
--- a/package/qt6/qt6charts/qt6charts.hash
+++ b/package/qt6/qt6charts/qt6charts.hash
@@ -1,5 +1,5 @@
-# Hash from: https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qtcharts-everywhere-src-6.11.3.tar.xz.sha256
-sha256  1d51d18e6f36e8b0dbbcd1a59f3ce9452ca5bf9b2d2fc8465be18cd0d06d6700  qtcharts-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qtcharts-everywhere-src-6.12.1.tar.xz.sha256
+sha256  ba7ef1ec8fcd1b70d0a0d39d31924009b146ebc38db92b657a39387e33c2cd07  qtcharts-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files
 sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  LICENSES/GPL-3.0-only.txt
diff --git a/package/qt6/qt6coap/qt6coap.hash b/package/qt6/qt6coap/qt6coap.hash
index edbd2bc7b7..193ac97754 100644
--- a/package/qt6/qt6coap/qt6coap.hash
+++ b/package/qt6/qt6coap/qt6coap.hash
@@ -1,5 +1,5 @@
 # Locally computed
-sha256  909e9820b08c77ae5a1d68f1325914f931ea3e25e9c6855493925b1ecd8d4fd5  qt6coap-6.11.3-git4.tar.gz
+sha256  a32a5b976d993e789bbc13cff21c06e876e796d8861d4e6731a7bcdc85e19393  qt6coap-6.12.1-git4.tar.gz
 
 # Hashes for license files
 sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
diff --git a/package/qt6/qt6core5compat/qt6core5compat.hash b/package/qt6/qt6core5compat/qt6core5compat.hash
index db6adc896c..53701dad14 100644
--- a/package/qt6/qt6core5compat/qt6core5compat.hash
+++ b/package/qt6/qt6core5compat/qt6core5compat.hash
@@ -1,5 +1,5 @@
-# Hash from: https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qt5compat-everywhere-src-6.11.3.tar.xz.sha256
-sha256  2e998067417de46355b6750c3709aaa6032fb27e4b16edb5f73fba79fe436516  qt5compat-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qt5compat-everywhere-src-6.12.1.tar.xz.sha256
+sha256  32f47f68de1299d48faf02858be66fd708ee1273b1579e4fad474e7e728318b5  qt5compat-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files:
 sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
diff --git a/package/qt6/qt6declarative/qt6declarative.hash b/package/qt6/qt6declarative/qt6declarative.hash
index 32aa367fa1..3869905c23 100644
--- a/package/qt6/qt6declarative/qt6declarative.hash
+++ b/package/qt6/qt6declarative/qt6declarative.hash
@@ -1,5 +1,5 @@
-# Hash from: https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qtdeclarative-everywhere-src-6.11.3.tar.xz.sha256
-sha256  6d6db328a02ae3bb0b1e6944aeef8dfe44cd6b55ab59b1708bbf0400f5759cb5  qtdeclarative-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qtdeclarative-everywhere-src-6.12.1.tar.xz.sha256
+sha256  91853e52d7ba958bfd85ea46b5efcf4a3b28b02e7bcd0e7c97a7b797ed6d1ecc  qtdeclarative-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files:
 sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
diff --git a/package/qt6/qt6graphs/qt6graphs.hash b/package/qt6/qt6graphs/qt6graphs.hash
index 3a18a1e7a3..4b980bb420 100644
--- a/package/qt6/qt6graphs/qt6graphs.hash
+++ b/package/qt6/qt6graphs/qt6graphs.hash
@@ -1,5 +1,5 @@
-# Hash from: https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qtgraphs-everywhere-src-6.11.3.tar.xz.sha256
-sha256  4e74b45c64930022a3c0127a6ea5d406ae973e1af130a9fe22158ab1d784bb6a  qtgraphs-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qtgraphs-everywhere-src-6.12.1.tar.xz.sha256
+sha256  41bf52c13ab64e69037604187ba8d20463b9d1db292d8e2ad89e1be04a14298d  qtgraphs-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files
 sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  LICENSES/GPL-3.0-only.txt
diff --git a/package/qt6/qt6grpc/qt6grpc.hash b/package/qt6/qt6grpc/qt6grpc.hash
index 2ecda8548f..808508669f 100644
--- a/package/qt6/qt6grpc/qt6grpc.hash
+++ b/package/qt6/qt6grpc/qt6grpc.hash
@@ -1,5 +1,5 @@
-# Hash from: https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qtgrpc-everywhere-src-6.11.3.tar.xz.sha256
-sha256  17984706311571d329cead7aff9cc9d744c10fb3004af24a82591baf758485f6  qtgrpc-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qtgrpc-everywhere-src-6.12.1.tar.xz.sha256
+sha256  b68068b0b60924dde6199950ff0f813feb93f7df62a1f2c854e63dbb6b509f67  qtgrpc-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files:
 sha256  e3ba223bb1423f0aad8c3dfce0fe3148db48926d41e6fbc3afbbf5ff9e1c89cb  LICENSE.Apache-2.0.txt
diff --git a/package/qt6/qt6languageserver/qt6languageserver.hash b/package/qt6/qt6languageserver/qt6languageserver.hash
index f4b0727a54..fb893b25cb 100644
--- a/package/qt6/qt6languageserver/qt6languageserver.hash
+++ b/package/qt6/qt6languageserver/qt6languageserver.hash
@@ -1,5 +1,5 @@
-# Hash from: https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qtlanguageserver-everywhere-src-6.11.3.tar.xz.sha256
-sha256  64f4310b5403157eb7652bbd57bdd09b0ed080c9cd9e98b5bf84883ecaa8d60f  qtlanguageserver-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qtlanguageserver-everywhere-src-6.12.1.tar.xz.sha256
+sha256  4e9315a05fb9ef7c8e33d1077b11ea40a364947a8a77768bb4dab58a189ea7e7  qtlanguageserver-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files:
 sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
diff --git a/package/qt6/qt6languageserver/qt6languageserver.mk b/package/qt6/qt6languageserver/qt6languageserver.mk
index 7ef5b9d92d..e4fe68a4f8 100644
--- a/package/qt6/qt6languageserver/qt6languageserver.mk
+++ b/package/qt6/qt6languageserver/qt6languageserver.mk
@@ -14,13 +14,15 @@ QT6LANGUAGESERVER_CMAKE_BACKEND = ninja
 
 QT6LANGUAGESERVER_LICENSE = \
 	GPL-2.0 or LGPL-3.0 or GPL-3.0, \
+	MIT (3rdparty LSP meta-model), \
 	GPL-3.0 (tests)
 
 QT6LANGUAGESERVER_LICENSE_FILES = \
 	LICENSES/GPL-2.0-only.txt \
 	LICENSES/GPL-3.0-only.txt \
 	LICENSES/LGPL-3.0-only.txt \
-	LICENSES/GFDL-1.3-no-invariants-only.txt
+	LICENSES/GFDL-1.3-no-invariants-only.txt \
+	LICENSES/MIT.txt
 
 QT6LANGUAGESERVER_CONF_OPTS = \
 	-DQT_HOST_PATH=$(HOST_DIR) \
diff --git a/package/qt6/qt6mqtt/qt6mqtt.hash b/package/qt6/qt6mqtt/qt6mqtt.hash
index cb345f43ee..1d47a3e6d4 100644
--- a/package/qt6/qt6mqtt/qt6mqtt.hash
+++ b/package/qt6/qt6mqtt/qt6mqtt.hash
@@ -1,5 +1,5 @@
 # Locally computed
-sha256  f4b9f412c6e85363fc0009c8a9333b35390bb47f1c4da44e6914fd7143bd7cc5  qt6mqtt-6.11.3-git4.tar.gz
+sha256  bca6a0a844edfb8a82ee55e198dfa1afd8b7583db5c191f1a8948619ea330ab2  qt6mqtt-6.12.1-git4.tar.gz
 
 # Hashes for license files
 sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
diff --git a/package/qt6/qt6multimedia/qt6multimedia.hash b/package/qt6/qt6multimedia/qt6multimedia.hash
index 19aeef8a92..2b70766038 100644
--- a/package/qt6/qt6multimedia/qt6multimedia.hash
+++ b/package/qt6/qt6multimedia/qt6multimedia.hash
@@ -1,5 +1,5 @@
-# Hash from: https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qtmultimedia-everywhere-src-6.11.3.tar.xz.sha256
-sha256  3d172de9bdd137686c3871762a4adff988a1ec0faec15df0c4560cfc417288e6  qtmultimedia-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qtmultimedia-everywhere-src-6.12.1.tar.xz.sha256
+sha256  5a125bc2bede8c6512296e0f3204a9922741fd144fcae7d4a66b3c007bb125e3  qtmultimedia-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files
 sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
diff --git a/package/qt6/qt6opcua/qt6opcua.hash b/package/qt6/qt6opcua/qt6opcua.hash
index ed0602e407..e7ad924a5d 100644
--- a/package/qt6/qt6opcua/qt6opcua.hash
+++ b/package/qt6/qt6opcua/qt6opcua.hash
@@ -1,5 +1,5 @@
 # Locally computed
-sha256  4d6dd7d8352597143e69bd7ec9e0cf092508a652fe3421357c0d890f1289d924  qt6opcua-6.11.3-git4.tar.gz
+sha256  16bf207d7a83247e2ca6b68d5ee6adc734ec268425436518f3c9203cf5abad54  qt6opcua-6.12.1-git4.tar.gz
 
 # Hashes for license files
 sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
diff --git a/package/qt6/qt6positioning/qt6positioning.hash b/package/qt6/qt6positioning/qt6positioning.hash
index 7d9352b998..ef6319ca1a 100644
--- a/package/qt6/qt6positioning/qt6positioning.hash
+++ b/package/qt6/qt6positioning/qt6positioning.hash
@@ -1,5 +1,5 @@
-# From https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qtpositioning-everywhere-src-6.11.3.tar.xz.sha256
-sha256  a38695bc412b7261476e8e96178460ec9319e61c34ecc6a14eb2e76e5c73eca1  qtpositioning-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qtpositioning-everywhere-src-6.12.1.tar.xz.sha256
+sha256  8d8a27660c52c45ad71ab552968c1b073912cd09a4eb864ef67b7d6133e74fef  qtpositioning-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  LICENSES/GPL-2.0-only.txt
diff --git a/package/qt6/qt6quick3d/qt6quick3d.hash b/package/qt6/qt6quick3d/qt6quick3d.hash
index beb7b11345..a72675e83f 100644
--- a/package/qt6/qt6quick3d/qt6quick3d.hash
+++ b/package/qt6/qt6quick3d/qt6quick3d.hash
@@ -1,5 +1,5 @@
-# Hash from: https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qtquick3d-everywhere-src-6.11.3.tar.xz.sha256
-sha256  c05d2491ead3ee22d2c8e9b7c9cc8e5874e7c05c1fc3329bc6a0ece70eaccc96  qtquick3d-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qtquick3d-everywhere-src-6.12.1.tar.xz.sha256
+sha256  32ba7a637f05ae2e198b215a814a3945b6b9ddd3b5fafff2406436994ccc0843  qtquick3d-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files
 sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
@@ -7,6 +7,6 @@ sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  LICENS
 sha256  d040359701c01996a017d5c515678929cd1b0625e64cb86db44025fbb6cdf1fc  LICENSES/MIT.txt
 sha256  c3ed04bcbea49f521e4ab32c638fa86b13ebc7b8e1a8972807265079fcd1e6b9  src/3rdparty/assimp/LICENSE
 sha256  cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  src/3rdparty/embree/LICENSE.txt
-sha256  e4a26033e3551fb2722888949fbb41e77aee628e8e8f04dcffeee301aa7e5634  src/3rdparty/meshoptimizer/LICENSE.md
+sha256  f03037ca7bad1e3eb7f4a63fa6084a8baabd5ba30d3c239a9a7f35705d873e26  src/3rdparty/meshoptimizer/LICENSE.md
 sha256  b90388aaadc2b6f77a5c01278697a2a0539eab471a3befc6a081728becdc3390  src/3rdparty/tinyexr/LICENSE
 sha256  2c16d5b1c2808277fe975b4f70f0fd9afc9b3bcf04e6c676665a82cb2d5579e3  src/3rdparty/xatlas/LICENSE
diff --git a/package/qt6/qt6quicktimeline/qt6quicktimeline.hash b/package/qt6/qt6quicktimeline/qt6quicktimeline.hash
index 60717a3e52..791877a2ec 100644
--- a/package/qt6/qt6quicktimeline/qt6quicktimeline.hash
+++ b/package/qt6/qt6quicktimeline/qt6quicktimeline.hash
@@ -1,5 +1,5 @@
-# Hash from: https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qtquicktimeline-everywhere-src-6.11.3.tar.xz.sha256
-sha256  e0e52453a4d13f6378fc4dff4cac8ef874fea35ddb9a72c1604e124ee941c692  qtquicktimeline-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qtquicktimeline-everywhere-src-6.12.1.tar.xz.sha256
+sha256  2dea872fa020f7f0b12a340127c88108cff00439e54f6bfe61853507e8f01617  qtquicktimeline-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files
 sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  LICENSES/GPL-3.0-only.txt
diff --git a/package/qt6/qt6scxml/qt6scxml.hash b/package/qt6/qt6scxml/qt6scxml.hash
index 62b1da2cbc..ce969ac4a1 100644
--- a/package/qt6/qt6scxml/qt6scxml.hash
+++ b/package/qt6/qt6scxml/qt6scxml.hash
@@ -1,5 +1,5 @@
-# Hash from: https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qtscxml-everywhere-src-6.11.3.tar.xz.sha256
-sha256  d89d7782d24d9609695c99ffbe8775c74348dc7e742af2b153e357d0ded2081f  qtscxml-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qtscxml-everywhere-src-6.12.1.tar.xz.sha256
+sha256  d86c009901920732e7e579b2bf50e6d6b9e9b64c6f70b75e494eb68b98fd95d5  qtscxml-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files:
 sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
diff --git a/package/qt6/qt6serialbus/qt6serialbus.hash b/package/qt6/qt6serialbus/qt6serialbus.hash
index 843ba8b548..2174aee2e6 100644
--- a/package/qt6/qt6serialbus/qt6serialbus.hash
+++ b/package/qt6/qt6serialbus/qt6serialbus.hash
@@ -1,5 +1,5 @@
-# Hash from: https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qtserialbus-everywhere-src-6.11.3.tar.xz.sha256
-sha256  934aa90721b17a7f2d7c59a9afcee2526030bfcf3a8caf95278d2690b284569e  qtserialbus-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qtserialbus-everywhere-src-6.12.1.tar.xz.sha256
+sha256  a8932fe92971e6db8d4694067b485d59f507554f56468d4e000ba285b4b0d010  qtserialbus-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files:
 sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
diff --git a/package/qt6/qt6serialport/qt6serialport.hash b/package/qt6/qt6serialport/qt6serialport.hash
index 4f573a924a..29535e424f 100644
--- a/package/qt6/qt6serialport/qt6serialport.hash
+++ b/package/qt6/qt6serialport/qt6serialport.hash
@@ -1,5 +1,5 @@
-# Hash from: https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qtserialport-everywhere-src-6.11.3.tar.xz.sha256
-sha256  b09bfb0eace070ce1b980f7f2c9ba9fb885c2cc29a4cd0416061496426601722  qtserialport-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qtserialport-everywhere-src-6.12.1.tar.xz.sha256
+sha256  ee05511d4993438b6b2babd8df8f8fae8c5e7aab563090dd81f1f0be9bbb3374  qtserialport-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files:
 sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
diff --git a/package/qt6/qt6shadertools/qt6shadertools.hash b/package/qt6/qt6shadertools/qt6shadertools.hash
index c88f40bbdb..3aaa438977 100644
--- a/package/qt6/qt6shadertools/qt6shadertools.hash
+++ b/package/qt6/qt6shadertools/qt6shadertools.hash
@@ -1,5 +1,5 @@
-# Hash from: https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qtshadertools-everywhere-src-6.11.3.tar.xz.sha256
-sha256  d86079425ec71eecbb05f4d20623b0a403a7d21a5cfa7efb9734ea3d538d801b  qtshadertools-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qtshadertools-everywhere-src-6.12.1.tar.xz.sha256
+sha256  f8c5b9c91eca0927198918c537d1b4d515f96dc9a3b178a88a1ff1d2f85c7877  qtshadertools-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files:
 sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
diff --git a/package/qt6/qt6svg/qt6svg.hash b/package/qt6/qt6svg/qt6svg.hash
index a520d8d79f..e9af3bcaf2 100644
--- a/package/qt6/qt6svg/qt6svg.hash
+++ b/package/qt6/qt6svg/qt6svg.hash
@@ -1,5 +1,5 @@
-# Hash from: https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qtsvg-everywhere-src-6.11.3.tar.xz.sha256
-sha256  9bdf6fa4b5a2d91c3eaa2edd12263fdff0ae19d0ac25d3c99946cd4189a07123  qtsvg-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qtsvg-everywhere-src-6.12.1.tar.xz.sha256
+sha256  6a7157a9a0556a129ae6582c7fbe57a0d6c0b83083cfcbd38d5d4a93b30c46e1  qtsvg-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files:
 sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
diff --git a/package/qt6/qt6tools/qt6tools.hash b/package/qt6/qt6tools/qt6tools.hash
index 3a9a1e4fbe..8c0a9a8786 100644
--- a/package/qt6/qt6tools/qt6tools.hash
+++ b/package/qt6/qt6tools/qt6tools.hash
@@ -1,5 +1,5 @@
-# Hash from: https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qttools-everywhere-src-6.11.3.tar.xz.sha256
-sha256  524ca79ee653fa36d4644ce66a5c0825930ee2550ff1d0987e703a66fd6c61ec  qttools-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qttools-everywhere-src-6.12.1.tar.xz.sha256
+sha256  0d3d1a7eba32d1477f36211fb527c2c75f60cb10f3ddc41fdb804fd94147b640  qttools-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files:
 sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
diff --git a/package/qt6/qt6virtualkeyboard/qt6virtualkeyboard.hash b/package/qt6/qt6virtualkeyboard/qt6virtualkeyboard.hash
index def4ff4b76..b7f0b01c45 100644
--- a/package/qt6/qt6virtualkeyboard/qt6virtualkeyboard.hash
+++ b/package/qt6/qt6virtualkeyboard/qt6virtualkeyboard.hash
@@ -1,5 +1,5 @@
-# Hash from: https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qtvirtualkeyboard-everywhere-src-6.11.3.tar.xz.sha256
-sha256  7c0ea4c6e05cc4d8225c862781efc78284d5f61809eedc405f37ea31acbb7478  qtvirtualkeyboard-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qtvirtualkeyboard-everywhere-src-6.12.1.tar.xz.sha256
+sha256  cafb30cf36bc67c486911da05f04ddc8f2e2965540999078aeff7ed809d1803c  qtvirtualkeyboard-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files:
 sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
diff --git a/package/qt6/qt6wayland/qt6wayland.hash b/package/qt6/qt6wayland/qt6wayland.hash
index 37ee1b7375..5d987a88b8 100644
--- a/package/qt6/qt6wayland/qt6wayland.hash
+++ b/package/qt6/qt6wayland/qt6wayland.hash
@@ -1,5 +1,5 @@
-# Hash from: https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qtwayland-everywhere-src-6.11.3.tar.xz.sha256
-sha256  7f6185eb6e7d75202c42dfaf18dc54ae96f2d9a7a265358d061a6f85366f6c97  qtwayland-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qtwayland-everywhere-src-6.12.1.tar.xz.sha256
+sha256  226cafcfd3b8c009f178d157d0772f902f6ee693ee39d219aba50eef0473c143  qtwayland-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files:
 sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
@@ -8,4 +8,3 @@ sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  LICENS
 sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  LICENSES/GPL-3.0-only.txt
 sha256  da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768  LICENSES/LGPL-3.0-only.txt
 sha256  9b1f50aae6267f9d5e0ceb6775ee86450262c25ec7c0573e151fe5d3f18a4700  LICENSES/LicenseRef-Qt-Commercial.txt
-sha256  40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2  LICENSES/Qt-GPL-exception-1.0.txt
diff --git a/package/qt6/qt6wayland/qt6wayland.mk b/package/qt6/qt6wayland/qt6wayland.mk
index 29fc25edb0..3ec5266138 100644
--- a/package/qt6/qt6wayland/qt6wayland.mk
+++ b/package/qt6/qt6wayland/qt6wayland.mk
@@ -17,7 +17,7 @@ QT6WAYLAND_LICENSE = \
 	BSD-3-Clause (examples, tests), \
 	GPL-3.0 (compositor), \
 	LGPL-3.0 or GPL-2.0 or GPL-3.0, \
-	GPL-3.0 WITH Qt-GPL-exception-1.0 (tests), \
+	GPL-3.0 (tests), \
 	GFDL-1.3 no invariants (docs)
 
 QT6WAYLAND_LICENSE_FILES = \
diff --git a/package/qt6/qt6websockets/qt6websockets.hash b/package/qt6/qt6websockets/qt6websockets.hash
index 3387892890..d7b61102c1 100644
--- a/package/qt6/qt6websockets/qt6websockets.hash
+++ b/package/qt6/qt6websockets/qt6websockets.hash
@@ -1,5 +1,5 @@
-# Hash from: https://download.qt.io/official_releases/qt/6.11/6.11.3/submodules/qtwebsockets-everywhere-src-6.11.3.tar.xz.sha256
-sha256  19b39acc37ec67a344fe0f080201c2c64d04d2a3d0c7dfa84955033f1016983b  qtwebsockets-everywhere-src-6.11.3.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/6.12/6.12.1/submodules/qtwebsockets-everywhere-src-6.12.1.tar.xz.sha256
+sha256  a8d91e4649b22e9f606eb1f363a10f77ac82d1c22945d5ff3c88a8f7410a0d8e  qtwebsockets-everywhere-src-6.12.1.tar.xz
 
 # Hashes for license files:
 sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt
-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH v2 8/8] support/testing: add Qt6 runtime tests
  2026-12-01 13:07 [Buildroot] [PATCH v2 0/8] package/qt6: bump version to 6.12.1, plus fixes Roy Kollen Svendsen
                   ` (6 preceding siblings ...)
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 7/8] package/qt6: bump version to 6.12.1 Roy Kollen Svendsen
@ 2026-12-01 13:07 ` Roy Kollen Svendsen
  7 siblings, 0 replies; 12+ messages in thread
From: Roy Kollen Svendsen @ 2026-12-01 13:07 UTC (permalink / raw)
  To: buildroot
  Cc: Zoltan Gyarmati, Christian Hitz, Bernd Kuhls, Roy Kollen Svendsen,
	Angelo Compagnucci, Thomas Petazzoni, Baxiche Su

Qt6 ships no target binaries, so the test program is provided through
a br2-external tree. Two classes cover two scenarios, each with its
own build:

- TestQt6Base: a QCoreApplication, verifying that QtCore loads and
  runs on the target.
- TestQt6Gui: a QGuiApplication on the offscreen platform, verifying
  that QtGui and the QPA plugin machinery initialize and can create a
  window.

The offscreen platform is headless: no display, GPU or EGL is needed,
while still exercising QtGui and platform plugin loading. An armv7
configuration with a bootlin glibc toolchain is used because Qt 6
requires at least ARMv7.

Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
---
 .../tests/package/br2-external/qt6/Config.in  |   1 +
 .../package/br2-external/qt6/external.desc    |   1 +
 .../package/br2-external/qt6/external.mk      |   1 +
 .../qt6/package/qt6-testapp/CMakeLists.txt    |  17 +++
 .../qt6/package/qt6-testapp/Config.in         |  16 +++
 .../qt6/package/qt6-testapp/main-gui.cpp      |  21 ++++
 .../qt6/package/qt6-testapp/main.cpp          |  11 ++
 .../qt6/package/qt6-testapp/qt6-testapp.mk    |  20 ++++
 support/testing/tests/package/test_qt6base.py | 111 ++++++++++++++++++
 9 files changed, 199 insertions(+)
 create mode 100644 support/testing/tests/package/br2-external/qt6/Config.in
 create mode 100644 support/testing/tests/package/br2-external/qt6/external.desc
 create mode 100644 support/testing/tests/package/br2-external/qt6/external.mk
 create mode 100644 support/testing/tests/package/br2-external/qt6/package/qt6-testapp/CMakeLists.txt
 create mode 100644 support/testing/tests/package/br2-external/qt6/package/qt6-testapp/Config.in
 create mode 100644 support/testing/tests/package/br2-external/qt6/package/qt6-testapp/main-gui.cpp
 create mode 100644 support/testing/tests/package/br2-external/qt6/package/qt6-testapp/main.cpp
 create mode 100644 support/testing/tests/package/br2-external/qt6/package/qt6-testapp/qt6-testapp.mk
 create mode 100644 support/testing/tests/package/test_qt6base.py

diff --git a/support/testing/tests/package/br2-external/qt6/Config.in b/support/testing/tests/package/br2-external/qt6/Config.in
new file mode 100644
index 0000000000..1bd77160e5
--- /dev/null
+++ b/support/testing/tests/package/br2-external/qt6/Config.in
@@ -0,0 +1 @@
+source "$BR2_EXTERNAL_QT6_PATH/package/qt6-testapp/Config.in"
diff --git a/support/testing/tests/package/br2-external/qt6/external.desc b/support/testing/tests/package/br2-external/qt6/external.desc
new file mode 100644
index 0000000000..41fa26165e
--- /dev/null
+++ b/support/testing/tests/package/br2-external/qt6/external.desc
@@ -0,0 +1 @@
+name: QT6
diff --git a/support/testing/tests/package/br2-external/qt6/external.mk b/support/testing/tests/package/br2-external/qt6/external.mk
new file mode 100644
index 0000000000..be308fcb90
--- /dev/null
+++ b/support/testing/tests/package/br2-external/qt6/external.mk
@@ -0,0 +1 @@
+include $(sort $(wildcard $(BR2_EXTERNAL_QT6_PATH)/package/*/*.mk))
diff --git a/support/testing/tests/package/br2-external/qt6/package/qt6-testapp/CMakeLists.txt b/support/testing/tests/package/br2-external/qt6/package/qt6-testapp/CMakeLists.txt
new file mode 100644
index 0000000000..00d7d9b71b
--- /dev/null
+++ b/support/testing/tests/package/br2-external/qt6/package/qt6-testapp/CMakeLists.txt
@@ -0,0 +1,17 @@
+cmake_minimum_required(VERSION 3.16)
+project(qt6-testapp LANGUAGES CXX)
+
+option(BUILD_QT6_TESTAPP_GUI "Build the QGuiApplication test app" OFF)
+
+find_package(Qt6 REQUIRED COMPONENTS Core)
+
+qt_add_executable(qt6-testapp main.cpp)
+target_link_libraries(qt6-testapp PRIVATE Qt6::Core)
+install(TARGETS qt6-testapp RUNTIME DESTINATION bin)
+
+if(BUILD_QT6_TESTAPP_GUI)
+    find_package(Qt6 REQUIRED COMPONENTS Gui)
+    qt_add_executable(qt6-testapp-gui main-gui.cpp)
+    target_link_libraries(qt6-testapp-gui PRIVATE Qt6::Core Qt6::Gui)
+    install(TARGETS qt6-testapp-gui RUNTIME DESTINATION bin)
+endif()
diff --git a/support/testing/tests/package/br2-external/qt6/package/qt6-testapp/Config.in b/support/testing/tests/package/br2-external/qt6/package/qt6-testapp/Config.in
new file mode 100644
index 0000000000..cd24f9845a
--- /dev/null
+++ b/support/testing/tests/package/br2-external/qt6/package/qt6-testapp/Config.in
@@ -0,0 +1,16 @@
+config BR2_PACKAGE_QT6_TESTAPP
+	bool "qt6-testapp"
+	depends on BR2_PACKAGE_QT6
+	depends on BR2_PACKAGE_QT6BASE
+	help
+	  Small test program used by the Qt6 runtime tests. It instantiates
+	  a QCoreApplication and prints the Qt version at runtime.
+
+config BR2_PACKAGE_QT6_TESTAPP_GUI
+	bool "qt6-testapp-gui"
+	depends on BR2_PACKAGE_QT6
+	depends on BR2_PACKAGE_QT6BASE_GUI
+	help
+	  Small test program used by the Qt6 GUI runtime test. It
+	  instantiates a QGuiApplication on the offscreen platform, creates
+	  a window, and prints the Qt version and platform name at runtime.
diff --git a/support/testing/tests/package/br2-external/qt6/package/qt6-testapp/main-gui.cpp b/support/testing/tests/package/br2-external/qt6/package/qt6-testapp/main-gui.cpp
new file mode 100644
index 0000000000..0f6893f322
--- /dev/null
+++ b/support/testing/tests/package/br2-external/qt6/package/qt6-testapp/main-gui.cpp
@@ -0,0 +1,21 @@
+// SPDX-License-Identifier: BSD-3-Clause
+#include <QGuiApplication>
+#include <QString>
+#include <QWindow>
+#include <cstdio>
+
+int main(int argc, char **argv)
+{
+    QGuiApplication app(argc, argv);
+
+    // Create and realize a window on the offscreen platform. This exercises
+    // the QtGui module and the platform plugin loading at runtime.
+    QWindow window;
+    window.resize(320, 240);
+    window.create();
+
+    printf("qt6-testapp-gui: Qt %s, platform %s\n",
+           qVersion(),
+           app.platformName().toUtf8().constData());
+    return 0;
+}
diff --git a/support/testing/tests/package/br2-external/qt6/package/qt6-testapp/main.cpp b/support/testing/tests/package/br2-external/qt6/package/qt6-testapp/main.cpp
new file mode 100644
index 0000000000..557c645ce5
--- /dev/null
+++ b/support/testing/tests/package/br2-external/qt6/package/qt6-testapp/main.cpp
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: BSD-3-Clause
+#include <QCoreApplication>
+#include <QString>
+#include <cstdio>
+
+int main(int argc, char **argv)
+{
+    QCoreApplication app(argc, argv);
+    printf("qt6-testapp: Qt %s\n", qVersion());
+    return 0;
+}
diff --git a/support/testing/tests/package/br2-external/qt6/package/qt6-testapp/qt6-testapp.mk b/support/testing/tests/package/br2-external/qt6/package/qt6-testapp/qt6-testapp.mk
new file mode 100644
index 0000000000..dd48f391b9
--- /dev/null
+++ b/support/testing/tests/package/br2-external/qt6/package/qt6-testapp/qt6-testapp.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# qt6-testapp
+#
+################################################################################
+
+QT6_TESTAPP_VERSION = 1.0
+QT6_TESTAPP_SITE = $(BR2_EXTERNAL_QT6_PATH)/package/qt6-testapp
+QT6_TESTAPP_SITE_METHOD = local
+QT6_TESTAPP_LICENSE = BSD-3-Clause
+QT6_TESTAPP_DEPENDENCIES = qt6base
+
+QT6_TESTAPP_CONF_OPTS = \
+	-DQT_HOST_PATH=$(HOST_DIR)
+
+ifeq ($(BR2_PACKAGE_QT6_TESTAPP_GUI),y)
+QT6_TESTAPP_CONF_OPTS += -DBUILD_QT6_TESTAPP_GUI=ON
+endif
+
+$(eval $(cmake-package))
diff --git a/support/testing/tests/package/test_qt6base.py b/support/testing/tests/package/test_qt6base.py
new file mode 100644
index 0000000000..dfe9601ca5
--- /dev/null
+++ b/support/testing/tests/package/test_qt6base.py
@@ -0,0 +1,111 @@
+import os
+
+import infra.basetest
+
+# Qt6 runtime tests.
+#
+# These tests build a minimal Qt6 rootfs and boot it in QEMU to verify
+# that the Qt libraries actually run on the target, not just that they
+# compile.
+#
+# Qt6 ships no target binaries, so the test program is provided through
+# a br2-external tree (tests/package/br2-external/qt6).
+#
+# Two classes cover two scenarios, each with its own build:
+#   - TestQt6Base: a QCoreApplication, verifying that QtCore loads and
+#     runs on the target.
+#   - TestQt6Gui: a QGuiApplication on the offscreen platform,
+#     verifying that QtGui and the QPA plugin machinery initialize and
+#     can create a window.
+#
+# The offscreen platform is used because it is headless: no display,
+# GPU or EGL is needed, while it still exercises QtGui and the platform
+# plugin loading. Actual rendering is deliberately not covered; it
+# would require a full graphics stack (mesa3d, DRM CRC), which is out
+# of scope for these tests.
+#
+# An armv7 configuration with a bootlin glibc toolchain is used because
+# Qt 6 requires at least ARMv7, while the generic
+# BASIC_TOOLCHAIN_CONFIG is ARMv5. BR2_PER_PACKAGE_DIRECTORIES is used
+# to isolate each package's build directory.
+
+
+# gitlab-runner: medium
+class TestQt6Base(infra.basetest.BRTest):
+    br2_external = [infra.filepath("tests/package/br2-external/qt6")]
+
+    config = \
+        """
+        BR2_arm=y
+        BR2_cortex_a9=y
+        BR2_ARM_ENABLE_VFP=y
+        BR2_TOOLCHAIN_EXTERNAL=y
+        BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
+        BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_STABLE=y
+        BR2_PER_PACKAGE_DIRECTORIES=y
+        BR2_PACKAGE_QT6=y
+        BR2_PACKAGE_QT6BASE=y
+        BR2_PACKAGE_QT6_TESTAPP=y
+        BR2_TARGET_ROOTFS_CPIO=y
+        # BR2_TARGET_ROOTFS_TAR is not set
+        """
+
+    def test_run(self):
+        cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio")
+        self.emulator.boot(arch="armv7",
+                           kernel="builtin",
+                           options=["-initrd", cpio_file])
+        self.emulator.login()
+
+        # The test program instantiates a QCoreApplication at runtime, so
+        # this verifies that the QtCore library actually runs on the target
+        # (library loading, QtCore initialization), not just that it
+        # compiles.
+        out, ret = self.emulator.run("/usr/bin/qt6-testapp")
+        self.assertEqual(ret, 0,
+                         "\nFailed to run qt6-testapp\noutput was:\n{}".format(
+                             "\n".join(out)))
+        self.assertRegex("\n".join(out), r"qt6-testapp: Qt 6\.\d+\.\d+")
+
+
+# gitlab-runner: medium
+class TestQt6Gui(infra.basetest.BRTest):
+    br2_external = [infra.filepath("tests/package/br2-external/qt6")]
+
+    config = \
+        """
+        BR2_arm=y
+        BR2_cortex_a9=y
+        BR2_ARM_ENABLE_VFP=y
+        BR2_TOOLCHAIN_EXTERNAL=y
+        BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
+        BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_STABLE=y
+        BR2_PER_PACKAGE_DIRECTORIES=y
+        BR2_PACKAGE_QT6=y
+        BR2_PACKAGE_QT6BASE=y
+        BR2_PACKAGE_QT6BASE_GUI=y
+        BR2_PACKAGE_QT6_TESTAPP=y
+        BR2_PACKAGE_QT6_TESTAPP_GUI=y
+        BR2_TARGET_ROOTFS_CPIO=y
+        # BR2_TARGET_ROOTFS_TAR is not set
+        """
+
+    def test_run(self):
+        cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio")
+        self.emulator.boot(arch="armv7",
+                           kernel="builtin",
+                           options=["-initrd", cpio_file])
+        self.emulator.login()
+
+        # The test program instantiates a QGuiApplication and creates a
+        # window on the offscreen platform at runtime, so this verifies
+        # that QtGui and the offscreen platform plugin actually run on the
+        # target, not just that they compile.
+        out, ret = self.emulator.run(
+            "QT_QPA_PLATFORM=offscreen /usr/bin/qt6-testapp-gui")
+        self.assertEqual(ret, 0,
+                         "\nFailed to run qt6-testapp-gui\noutput was:\n{}".format(
+                             "\n".join(out)))
+        self.assertRegex(
+            "\n".join(out),
+            r"qt6-testapp-gui: Qt 6\.\d+\.\d+, platform offscreen")
-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [Buildroot] [PATCH v2 1/8] package/qt6/qt6positioning: select network for QML
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 1/8] package/qt6/qt6positioning: select network for QML Roy Kollen Svendsen
@ 2026-12-01 13:36   ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 12+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-12-01 13:36 UTC (permalink / raw)
  To: Roy Kollen Svendsen
  Cc: Zoltan Gyarmati, Christian Hitz, Bernd Kuhls, Angelo Compagnucci,
	buildroot, Baxiche Su

On Tue, Dec 01, 2026 at 02:07:11PM +0100, Roy Kollen Svendsen wrote:
> From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
> 
> The QML module of qt6positioning is built when qt6declarative has the
> Quick module. Its PositionSource type uses QTcpSocket, for NMEA data
> over TCP. It doesn't link to QtNetwork itself: it gets it through
> QtQml and QtQuick, only when qt6base has network support.
> 
> Without BR2_PACKAGE_QT6BASE_NETWORK, the build fails:
> 
>   qdeclarativepositionsource_p.h:22:10: fatal error: QtNetwork/QAbstractSocket: No such file or directory
> 
> Select BR2_PACKAGE_QT6BASE_NETWORK when the QML module is built.
> 
> Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
> Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>

As this is a fix, could you add a Fixes: tag that points to the commit
introducing the issue/regression. This way, the LTS branch maintainers
will more easily be able to figure out whether this fix needs to be
backported, and to which stable branches.

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Buildroot] [PATCH v2 2/8] package/qt6: select BR2_HOST_CMAKE_AT_LEAST_3_25
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 2/8] package/qt6: select BR2_HOST_CMAKE_AT_LEAST_3_25 Roy Kollen Svendsen
@ 2026-12-01 13:37   ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 12+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-12-01 13:37 UTC (permalink / raw)
  To: Roy Kollen Svendsen
  Cc: Zoltan Gyarmati, Christian Hitz, Bernd Kuhls, Angelo Compagnucci,
	buildroot, Baxiche Su

On Tue, Dec 01, 2026 at 02:07:12PM +0100, Roy Kollen Svendsen wrote:
> From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
> 
> Qt 6.12 needs CMake >= 3.25.
> 
> Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
> Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
> ---
>  package/qt6/Config.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/qt6/Config.in b/package/qt6/Config.in
> index f3a540e9f8..7aea40172e 100644
> --- a/package/qt6/Config.in
> +++ b/package/qt6/Config.in
> @@ -35,6 +35,7 @@ menuconfig BR2_PACKAGE_QT6
>  	depends on BR2_USE_WCHAR
>  	depends on !BR2_PACKAGE_QT5
>  	select BR2_PACKAGE_QT6BASE
> +	select BR2_HOST_CMAKE_AT_LEAST_3_25 # Qt 6.12 needs CMake >= 3.25

Minor nit: the comment is useless.

But we have Qt 6.11 in next, so why isn't this going with the 6.12
bump?

Indeed, as it is presented, it looks like a fix, but it's (apparently)
not.

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Buildroot] [PATCH v2 3/8] package/qt6/qt6multimedia: select qt6base-concurrent
  2026-12-01 13:07 ` [Buildroot] [PATCH v2 3/8] package/qt6/qt6multimedia: select qt6base-concurrent Roy Kollen Svendsen
@ 2026-12-01 13:39   ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 12+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-12-01 13:39 UTC (permalink / raw)
  To: Roy Kollen Svendsen
  Cc: Zoltan Gyarmati, Christian Hitz, Bernd Kuhls, Angelo Compagnucci,
	buildroot, Baxiche Su

On Tue, Dec 01, 2026 at 02:07:13PM +0100, Roy Kollen Svendsen wrote:
> qt6multimedia links Qt::Concurrent unconditionally since at least
> 6.11.1, but BR2_PACKAGE_QT6BASE_CONCURRENT was only selected by the
> FFMPEG sub-option. A configuration with qt6multimedia enabled and
> qt6base built without the concurrent module fails at configure time
> with:
> 
>   get_target_property() called with non-existent target "Qt6::Concurrent"
> 
> Reproducible with the following configuration snippet:
> 
>   BR2_PACKAGE_QT6=y
>   BR2_PACKAGE_QT6BASE=y
>   # BR2_PACKAGE_QT6BASE_CONCURRENT is not set
>   BR2_PACKAGE_QT6MULTIMEDIA=y
> 
> and:
> 
>   ./utils/test-pkg -p qt6multimedia -c <snippet> -T bootlin-aarch64-glibc
> 
> Move the select to the top-level qt6multimedia option.
> 
> This issue exists since the package was added (553c55e9bd).

Could be better formatted as:

Fixes: 553c55e9bd3cfa05cb84fa4cdfc5d25d51c3486b ("package/qt6/qt6multimedia: new package")

Thanks,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-12-01 13:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 13:07 [Buildroot] [PATCH v2 0/8] package/qt6: bump version to 6.12.1, plus fixes Roy Kollen Svendsen
2026-12-01 13:07 ` [Buildroot] [PATCH v2 1/8] package/qt6/qt6positioning: select network for QML Roy Kollen Svendsen
2026-12-01 13:36   ` Thomas Petazzoni via buildroot
2026-12-01 13:07 ` [Buildroot] [PATCH v2 2/8] package/qt6: select BR2_HOST_CMAKE_AT_LEAST_3_25 Roy Kollen Svendsen
2026-12-01 13:37   ` Thomas Petazzoni via buildroot
2026-12-01 13:07 ` [Buildroot] [PATCH v2 3/8] package/qt6/qt6multimedia: select qt6base-concurrent Roy Kollen Svendsen
2026-12-01 13:39   ` Thomas Petazzoni via buildroot
2026-12-01 13:07 ` [Buildroot] [PATCH v2 4/8] package/qt6/qt6quick3d: fix host build Roy Kollen Svendsen
2026-12-01 13:07 ` [Buildroot] [PATCH v2 5/8] package/qt6/qt6quick3d: select qt6base-concurrent Roy Kollen Svendsen
2026-12-01 13:07 ` [Buildroot] [PATCH v2 6/8] package/qt6/qt6opcua: add host dependencies Roy Kollen Svendsen
2026-12-01 13:07 ` [Buildroot] [PATCH v2 7/8] package/qt6: bump version to 6.12.1 Roy Kollen Svendsen
2026-12-01 13:07 ` [Buildroot] [PATCH v2 8/8] support/testing: add Qt6 runtime tests Roy Kollen Svendsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox