* [Buildroot] [PATCH 02/10] package/qt6/qt6connectivity: new package
2025-05-15 10:36 [Buildroot] [PATCH 01/10] package/qt6: bump version to 6.9.0 Roy Kollen Svendsen
@ 2025-05-15 10:36 ` Roy Kollen Svendsen
2025-05-15 10:36 ` [Buildroot] [PATCH 03/10] package/qt6/qt6positioning: " Roy Kollen Svendsen
` (7 subsequent siblings)
8 siblings, 0 replies; 18+ messages in thread
From: Roy Kollen Svendsen @ 2025-05-15 10:36 UTC (permalink / raw)
To: buildroot
Cc: Christian Hitz, Roy Kollen Svendsen, Thomas Petazzoni,
Zoltan Gyarmati, Baxiche Su, Jesse Van Gavere, Christian Hitz
From: Christian Hitz <christian.hitz@bbv.ch>
Signed-off-by: Christian Hitz <christian.hitz@bbv.ch>
Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
---
package/qt6/Config.in | 1 +
package/qt6/qt6connectivity/Config.in | 17 ++++++++
.../qt6/qt6connectivity/qt6connectivity.hash | 11 +++++
.../qt6/qt6connectivity/qt6connectivity.mk | 42 +++++++++++++++++++
4 files changed, 71 insertions(+)
create mode 100644 package/qt6/qt6connectivity/Config.in
create mode 100644 package/qt6/qt6connectivity/qt6connectivity.hash
create mode 100644 package/qt6/qt6connectivity/qt6connectivity.mk
diff --git a/package/qt6/Config.in b/package/qt6/Config.in
index 10594691cf..3597417ef7 100644
--- a/package/qt6/Config.in
+++ b/package/qt6/Config.in
@@ -45,6 +45,7 @@ if BR2_PACKAGE_QT6
source "package/qt6/qt6base/Config.in"
source "package/qt6/qt6charts/Config.in"
+source "package/qt6/qt6connectivity/Config.in"
source "package/qt6/qt6core5compat/Config.in"
source "package/qt6/qt6declarative/Config.in"
source "package/qt6/qt6graphs/Config.in"
diff --git a/package/qt6/qt6connectivity/Config.in b/package/qt6/qt6connectivity/Config.in
new file mode 100644
index 0000000000..ba329d732e
--- /dev/null
+++ b/package/qt6/qt6connectivity/Config.in
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_QT6CONNECTIVITY
+ bool "qt6connectivity"
+ depends on BR2_PACKAGE_NEARD || BR2_PACKAGE_BLUEZ5_UTILS
+ select BR2_PACKAGE_QT6BASE_NETWORK
+ select BR2_PACKAGE_QT6BASE_DBUS
+ help
+ Qt is a cross-platform application and UI framework for
+ developers using C++.
+
+ Qt Connectivity module provides support for Bluetooth/NFC
+ peripherials.
+
+ https://doc.qt.io/qt-6/qtbluetooth-index.html
+ https://doc.qt.io/qt-6/qtnfc-index.html
+
+comment "qt6connectivity needs neard and/or bluez5_utils"
+ depends on !BR2_PACKAGE_NEARD && !BR2_PACKAGE_BLUEZ5_UTILS
diff --git a/package/qt6/qt6connectivity/qt6connectivity.hash b/package/qt6/qt6connectivity/qt6connectivity.hash
new file mode 100644
index 0000000000..3c1d9964a4
--- /dev/null
+++ b/package/qt6/qt6connectivity/qt6connectivity.hash
@@ -0,0 +1,11 @@
+# Hash from: https://download.qt.io/official_releases/qt/6.9/6.9.0/submodules/qtconnectivity-everywhere-src-6.9.0.tar.xz.sha256
+sha256 ff402f8dacb2b9f9308afcea67118ae1645ce6466f2d41a8d5c12fd2fa168598 qtconnectivity-everywhere-src-6.9.0.tar.xz
+
+# Hashes for license files:
+sha256 e3ba223bb1423f0aad8c3dfce0fe3148db48926d41e6fbc3afbbf5ff9e1c89cb LICENSES/Apache-2.0.txt
+sha256 9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce LICENSES/BSD-3-Clause.txt
+sha256 110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4 LICENSES/GFDL-1.3-no-invariants-only.txt
+sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0-only.txt
+sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt
+sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt
+sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt
diff --git a/package/qt6/qt6connectivity/qt6connectivity.mk b/package/qt6/qt6connectivity/qt6connectivity.mk
new file mode 100644
index 0000000000..4d77b2328b
--- /dev/null
+++ b/package/qt6/qt6connectivity/qt6connectivity.mk
@@ -0,0 +1,42 @@
+################################################################################
+#
+# qt6connectivity
+#
+################################################################################
+
+QT6CONNECTIVITY_VERSION = $(QT6_VERSION)
+QT6CONNECTIVITY_SITE = $(QT6_SITE)
+QT6CONNECTIVITY_SOURCE = qtconnectivity-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6CONNECTIVITY_VERSION).tar.xz
+QT6CONNECTIVITY_INSTALL_STAGING = YES
+QT6CONNECTIVITY_SUPPORTS_IN_SOURCE_BUILD = NO
+
+QT6CONNECTIVITY_CMAKE_BACKEND = ninja
+
+QT6CONNECTIVITY_LICENSE = \
+ GPL-2.0 or GPL-3.0 or LGPL-3.0, \
+ GPL-3.0 with Qt GPL exception 1.0 (sdpscanner), \
+ BSD-3-Clause (build system, examples), \
+ Apache-2.0 (examples), \
+ GPL-3.0, GFDL-1.3 no invariants (docs)
+
+QT6CONNECTIVITY_LICENSE_FILES = \
+ LICENSES/Apache-2.0.txt \
+ LICENSES/BSD-3-Clause.txt \
+ LICENSES/GFDL-1.3-no-invariants-only.txt \
+ LICENSES/GPL-2.0-only.txt \
+ LICENSES/GPL-3.0-only.txt \
+ LICENSES/LGPL-3.0-only.txt \
+ LICENSES/Qt-GPL-exception-1.0.txt
+
+QT6CONNECTIVITY_CONF_OPTS = \
+ -DQT_HOST_PATH=$(HOST_DIR) \
+ -DBUILD_WITH_PCH=OFF \
+ -DQT_BUILD_EXAMPLES=OFF \
+ -DQT_BUILD_TESTS=OFF
+
+QT6CONNECTIVITY_DEPENDENCIES = \
+ qt6base
+
+QT6CONNECTIVITY_DEPENDENCIES += $(if $(BR2_PACKAGE_BLUEZ5_UTILS),bluez5_utils)
+
+$(eval $(cmake-package))
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 03/10] package/qt6/qt6positioning: new package
2025-05-15 10:36 [Buildroot] [PATCH 01/10] package/qt6: bump version to 6.9.0 Roy Kollen Svendsen
2025-05-15 10:36 ` [Buildroot] [PATCH 02/10] package/qt6/qt6connectivity: new package Roy Kollen Svendsen
@ 2025-05-15 10:36 ` Roy Kollen Svendsen
2025-05-15 10:36 ` [Buildroot] [PATCH 04/10] package/qt6/qt6grpc: " Roy Kollen Svendsen
` (6 subsequent siblings)
8 siblings, 0 replies; 18+ messages in thread
From: Roy Kollen Svendsen @ 2025-05-15 10:36 UTC (permalink / raw)
To: buildroot
Cc: Christian Hitz, Roy Kollen Svendsen, Thomas Petazzoni,
Zoltan Gyarmati, Baxiche Su, Jesse Van Gavere, Bernd Kuhls
From: Bernd Kuhls <bernd@kuhls.net>
Needed for GPS support in Stellarium.
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
---
package/qt6/Config.in | 1 +
package/qt6/qt6positioning/Config.in | 8 ++++
.../qt6/qt6positioning/qt6positioning.hash | 16 +++++++
package/qt6/qt6positioning/qt6positioning.mk | 47 +++++++++++++++++++
4 files changed, 72 insertions(+)
create mode 100644 package/qt6/qt6positioning/Config.in
create mode 100644 package/qt6/qt6positioning/qt6positioning.hash
create mode 100644 package/qt6/qt6positioning/qt6positioning.mk
diff --git a/package/qt6/Config.in b/package/qt6/Config.in
index 3597417ef7..6b7152d902 100644
--- a/package/qt6/Config.in
+++ b/package/qt6/Config.in
@@ -53,6 +53,7 @@ source "package/qt6/qt6languageserver/Config.in"
source "package/qt6/qt6mqtt/Config.in"
source "package/qt6/qt6multimedia/Config.in"
source "package/qt6/qt6opcua/Config.in"
+source "package/qt6/qt6positioning/Config.in"
source "package/qt6/qt6quick3d/Config.in"
source "package/qt6/qt6quicktimeline/Config.in"
source "package/qt6/qt6scxml/Config.in"
diff --git a/package/qt6/qt6positioning/Config.in b/package/qt6/qt6positioning/Config.in
new file mode 100644
index 0000000000..a083dcffb3
--- /dev/null
+++ b/package/qt6/qt6positioning/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_QT6POSITIONING
+ bool "qt6positioning"
+ select BR2_PACKAGE_QT6BASE_GUI
+ help
+ This package provides Qt6 Positioning:
+
+ https://doc.qt.io/qt-6/qtpositioning-index.html
+ https://code.qt.io/cgit/qt/qtpositioning.git
diff --git a/package/qt6/qt6positioning/qt6positioning.hash b/package/qt6/qt6positioning/qt6positioning.hash
new file mode 100644
index 0000000000..1e6b65829e
--- /dev/null
+++ b/package/qt6/qt6positioning/qt6positioning.hash
@@ -0,0 +1,16 @@
+# Hash from: https://download.qt.io/official_releases/qt/6.9/6.9.0/submodules/qtpositioning-everywhere-src-6.9.0.tar.xz.sha256
+sha256 c00b4c01d92bf99c5562910aab59f80146b976cdb1dcb7bd2f27833624605ed1 qtpositioning-everywhere-src-6.9.0.tar.xz
+
+# Hashes for license files
+sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSES/Apache-2.0.txt
+sha256 9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce LICENSES/BSD-3-Clause.txt
+sha256 3abd6471b9a9a08d65ce771143f8e278bb4c1aeb10c1c2d476935a6b049653f5 LICENSES/BSL-1.0.txt
+sha256 a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499 LICENSES/CC0-1.0.txt
+sha256 110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4 LICENSES/GFDL-1.3-no-invariants-only.txt
+sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0-only.txt
+sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt
+sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt
+sha256 9b1f50aae6267f9d5e0ceb6775ee86450262c25ec7c0573e151fe5d3f18a4700 LICENSES/LicenseRef-Qt-Commercial.txt
+sha256 d040359701c01996a017d5c515678929cd1b0625e64cb86db44025fbb6cdf1fc LICENSES/MIT.txt
+sha256 ed0df7c746c39b27f297cc1bf5e8cdfa5b53c7056572092a77db02278435a689 LICENSES/OFL-1.1.txt
+sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt
diff --git a/package/qt6/qt6positioning/qt6positioning.mk b/package/qt6/qt6positioning/qt6positioning.mk
new file mode 100644
index 0000000000..718abbd941
--- /dev/null
+++ b/package/qt6/qt6positioning/qt6positioning.mk
@@ -0,0 +1,47 @@
+################################################################################
+#
+# qt6positioning
+#
+################################################################################
+
+QT6POSITIONING_VERSION = $(QT6_VERSION)
+QT6POSITIONING_SITE = $(QT6_SITE)
+QT6POSITIONING_SOURCE = qtpositioning-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6POSITIONING_VERSION).tar.xz
+QT6POSITIONING_INSTALL_STAGING = YES
+QT6POSITIONING_SUPPORTS_IN_SOURCE_BUILD = NO
+QT6POSITIONING_CMAKE_BACKEND = ninja
+
+QT6POSITIONING_LICENSE = \
+ GPL-2.0 or GPL-3.0 or LGPL-3.0, \
+ BSL-1.0, \
+ CC0-1.0, \
+ GFDL-1.3 no invariants (docs), \
+ GPL-3.0 with Qt-GPL-exception-1.0, \
+ OFL-1.1 (TitilliumWeb), \
+ BSD-3-Clause (examples + buildsystem)
+
+QT6POSITIONING_LICENSE_FILES = \
+ LICENSES/Apache-2.0.txt \
+ LICENSES/BSD-3-Clause.txt \
+ LICENSES/BSL-1.0.txt \
+ LICENSES/CC0-1.0.txt \
+ LICENSES/GFDL-1.3-no-invariants-only.txt \
+ LICENSES/GPL-2.0-only.txt \
+ LICENSES/GPL-3.0-only.txt \
+ LICENSES/LGPL-3.0-only.txt \
+ LICENSES/LicenseRef-Qt-Commercial.txt \
+ LICENSES/MIT.txt \
+ LICENSES/OFL-1.1.txt \
+ LICENSES/Qt-GPL-exception-1.0.txt
+
+QT6POSITIONING_DEPENDENCIES = qt6base
+
+ifeq ($(BR2_PACKAGE_QT6DECLARATIVE)$(BR2_PACKAGE_QT6DECLARATIVE_QUICK),yy)
+QT6POSITIONING_DEPENDENCIES += qt6declarative
+endif
+
+ifeq ($(BR2_PACKAGE_QT6SERIALPORT),y)
+QT6POSITIONING_DEPENDENCIES += qt6serialport
+endif
+
+$(eval $(cmake-package))
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 04/10] package/qt6/qt6grpc: new package
2025-05-15 10:36 [Buildroot] [PATCH 01/10] package/qt6: bump version to 6.9.0 Roy Kollen Svendsen
2025-05-15 10:36 ` [Buildroot] [PATCH 02/10] package/qt6/qt6connectivity: new package Roy Kollen Svendsen
2025-05-15 10:36 ` [Buildroot] [PATCH 03/10] package/qt6/qt6positioning: " Roy Kollen Svendsen
@ 2025-05-15 10:36 ` Roy Kollen Svendsen
2025-05-15 10:36 ` [Buildroot] [PATCH 05/10] package/qt6/qt6sensors: " Roy Kollen Svendsen
` (5 subsequent siblings)
8 siblings, 0 replies; 18+ messages in thread
From: Roy Kollen Svendsen @ 2025-05-15 10:36 UTC (permalink / raw)
To: buildroot
Cc: Christian Hitz, Roy Kollen Svendsen, Jack Rubacha,
Thomas Petazzoni, Zoltan Gyarmati, Baxiche Su, Jesse Van Gavere
From: Jack Rubacha <rubacha.jack03@gmail.com>
Adds the QT GRPC module (containing Qt Protobuf as well).
Signed-off-by: Jack Rubacha <rubacha.jack03@gmail.com>
Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
---
package/qt6/Config.in | 1 +
package/qt6/qt6grpc/Config.in | 7 ++++++
package/qt6/qt6grpc/qt6grpc.hash | 10 ++++++++
package/qt6/qt6grpc/qt6grpc.mk | 43 ++++++++++++++++++++++++++++++++
4 files changed, 61 insertions(+)
create mode 100644 package/qt6/qt6grpc/Config.in
create mode 100644 package/qt6/qt6grpc/qt6grpc.hash
create mode 100644 package/qt6/qt6grpc/qt6grpc.mk
diff --git a/package/qt6/Config.in b/package/qt6/Config.in
index 6b7152d902..c1ea543242 100644
--- a/package/qt6/Config.in
+++ b/package/qt6/Config.in
@@ -49,6 +49,7 @@ source "package/qt6/qt6connectivity/Config.in"
source "package/qt6/qt6core5compat/Config.in"
source "package/qt6/qt6declarative/Config.in"
source "package/qt6/qt6graphs/Config.in"
+source "package/qt6/qt6grpc/Config.in"
source "package/qt6/qt6languageserver/Config.in"
source "package/qt6/qt6mqtt/Config.in"
source "package/qt6/qt6multimedia/Config.in"
diff --git a/package/qt6/qt6grpc/Config.in b/package/qt6/qt6grpc/Config.in
new file mode 100644
index 0000000000..3d82cfcb0c
--- /dev/null
+++ b/package/qt6/qt6grpc/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_QT6GRPC
+ bool "qt6grpc"
+ help
+ This package provides the Qt GRPC and Protobuf modules:
+
+ https://doc.qt.io/qt-6/qtgrpc-index.html
+ https://code.qt.io/cgit/qt/qtgrpc.git/
diff --git a/package/qt6/qt6grpc/qt6grpc.hash b/package/qt6/qt6grpc/qt6grpc.hash
new file mode 100644
index 0000000000..6e003cb525
--- /dev/null
+++ b/package/qt6/qt6grpc/qt6grpc.hash
@@ -0,0 +1,10 @@
+# Hash from: https://download.qt.io/official_releases/qt/6.9/6.9.0/submodules/qtgrpc-everywhere-src-6.9.0.tar.xz.sha256
+sha256 3957e076181ac0d9a8f9fca93ec49e1e5e143e39eee1ec3feee10ca13f64b137 qtgrpc-everywhere-src-6.9.0.tar.xz
+
+# Hashes for license files:
+sha256 e3ba223bb1423f0aad8c3dfce0fe3148db48926d41e6fbc3afbbf5ff9e1c89cb LICENSE.Apache-2.0.txt
+sha256 9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce LICENSES/BSD-3-Clause.txt
+sha256 110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4 LICENSES/GFDL-1.3-no-invariants-only.txt
+sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt
+sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSES/LicenseRef-protobuf.txt
+sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt
diff --git a/package/qt6/qt6grpc/qt6grpc.mk b/package/qt6/qt6grpc/qt6grpc.mk
new file mode 100644
index 0000000000..8b1c511fef
--- /dev/null
+++ b/package/qt6/qt6grpc/qt6grpc.mk
@@ -0,0 +1,43 @@
+################################################################################
+#
+# qt6grpc
+#
+################################################################################
+
+QT6GRPC_VERSION = $(QT6_VERSION)
+QT6GRPC_SITE = $(QT6_SITE)
+QT6GRPC_SOURCE = qtgrpc-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6GRPC_VERSION).tar.xz
+QT6GRPC_INSTALL_STAGING = YES
+QT6GRPC_SUPPORTS_IN_SOURCE_BUILD = NO
+QT6GRPC_CMAKE_BACKEND = ninja
+QT6GRPC_LICENSE = GPL-3.0-only
+
+QT6GRPC_LICENSE_FILES = \
+ LICENSE.Apache-2.0.txt \
+ LICENSES/BSD-3-Clause.txt \
+ LICENSES/GFDL-1.3-no-invariants-only.txt \
+ LICENSES/GPL-3.0-only.txt \
+ LICENSES/LicenseRef-protobuf.txt \
+ LICENSES/Qt-GPL-exception-1.0.txt
+
+QT6GRPC_CONF_OPTS = \
+ -DBUILD_WITH_PCH=OFF \
+ -DQT_BUILD_EXAMPLES=OFF \
+ -DQT_BUILD_TESTS=OFF \
+ -DQT_HOST_PATH=$(HOST_DIR)
+
+QT6GRPC_DEPENDENCIES = \
+ host-pkgconf \
+ host-qt6grpc \
+ qt6base
+
+ifeq ($(BR2_PACKAGE_QT6DECLARATIVE),y)
+QT6GRPC_DEPENDENCIES += qt6declarative
+endif
+
+HOST_QT6GRPC_DEPENDENCIES = \
+ host-protobuf \
+ host-qt6base
+
+$(eval $(cmake-package))
+$(eval $(host-cmake-package))
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 05/10] package/qt6/qt6sensors: new package
2025-05-15 10:36 [Buildroot] [PATCH 01/10] package/qt6: bump version to 6.9.0 Roy Kollen Svendsen
` (2 preceding siblings ...)
2025-05-15 10:36 ` [Buildroot] [PATCH 04/10] package/qt6/qt6grpc: " Roy Kollen Svendsen
@ 2025-05-15 10:36 ` Roy Kollen Svendsen
2025-05-15 10:36 ` [Buildroot] [PATCH 06/10] package/qt6/qt6speech: " Roy Kollen Svendsen
` (4 subsequent siblings)
8 siblings, 0 replies; 18+ messages in thread
From: Roy Kollen Svendsen @ 2025-05-15 10:36 UTC (permalink / raw)
To: buildroot
Cc: Christian Hitz, Roy Kollen Svendsen, Thomas Petazzoni,
Zoltan Gyarmati, Baxiche Su, Jesse Van Gavere
Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
---
package/qt6/Config.in | 1 +
package/qt6/qt6sensors/Config.in | 6 +++++
package/qt6/qt6sensors/qt6sensors.hash | 7 ++++++
package/qt6/qt6sensors/qt6sensors.mk | 32 ++++++++++++++++++++++++++
4 files changed, 46 insertions(+)
create mode 100644 package/qt6/qt6sensors/Config.in
create mode 100644 package/qt6/qt6sensors/qt6sensors.hash
create mode 100644 package/qt6/qt6sensors/qt6sensors.mk
diff --git a/package/qt6/Config.in b/package/qt6/Config.in
index c1ea543242..05f0540db0 100644
--- a/package/qt6/Config.in
+++ b/package/qt6/Config.in
@@ -58,6 +58,7 @@ source "package/qt6/qt6positioning/Config.in"
source "package/qt6/qt6quick3d/Config.in"
source "package/qt6/qt6quicktimeline/Config.in"
source "package/qt6/qt6scxml/Config.in"
+source "package/qt6/qt6sensors/Config.in"
source "package/qt6/qt6serialbus/Config.in"
source "package/qt6/qt6serialport/Config.in"
source "package/qt6/qt6shadertools/Config.in"
diff --git a/package/qt6/qt6sensors/Config.in b/package/qt6/qt6sensors/Config.in
new file mode 100644
index 0000000000..db87e437b2
--- /dev/null
+++ b/package/qt6/qt6sensors/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_QT6SENSORS
+ bool "qt6sensors"
+ help
+ This package provides the Qt Sensors module:
+
+ https://doc.qt.io/qt-6/qtsensors-index.html
diff --git a/package/qt6/qt6sensors/qt6sensors.hash b/package/qt6/qt6sensors/qt6sensors.hash
new file mode 100644
index 0000000000..53af41c58d
--- /dev/null
+++ b/package/qt6/qt6sensors/qt6sensors.hash
@@ -0,0 +1,7 @@
+# Hash from: https://download.qt.io/official_releases/qt/6.9/6.9.0/submodules/qtsensors-everywhere-src-6.9.0.tar.xz.sha256
+sha256 a46137c1f4a768d00397a2f83de7018318b0ca35d39c848da62d1783b368e467 qtsensors-everywhere-src-6.9.0.tar.xz
+
+# Hashes for license files:
+sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0-only.txt
+sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt
+sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt
diff --git a/package/qt6/qt6sensors/qt6sensors.mk b/package/qt6/qt6sensors/qt6sensors.mk
new file mode 100644
index 0000000000..c06b31c45e
--- /dev/null
+++ b/package/qt6/qt6sensors/qt6sensors.mk
@@ -0,0 +1,32 @@
+################################################################################
+#
+# qt6sensors
+#
+################################################################################
+
+QT6SENSORS_VERSION = $(QT6_VERSION)
+QT6SENSORS_SITE = $(QT6_SITE)
+QT6SENSORS_SOURCE = qtsensors-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6SENSORS_VERSION).tar.xz
+QT6SENSORS_INSTALL_STAGING = YES
+QT6SENSORS_SUPPORTS_IN_SOURCE_BUILD = NO
+QT6SENSORS_CMAKE_BACKEND = ninja
+QT6SENSORS_LICENSE = LGPL-3.0 or GPL-2.0 or GPL-3.0 (modules, plugins)
+
+QT6SENSORS_LICENSE_FILES = \
+ LICENSES/GPL-2.0-only.txt \
+ LICENSES/GPL-3.0-only.txt \
+ LICENSES/LGPL-3.0-only.txt
+
+QT6SENSORS_CONF_OPTS = \
+ -DBUILD_WITH_PCH=OFF \
+ -DQT_BUILD_EXAMPLES=OFF \
+ -DQT_BUILD_TESTS=OFF \
+ -DQT_HOST_PATH=$(HOST_DIR)
+
+QT6SENSORS_DEPENDENCIES = qt6base
+
+ifeq ($(BR2_PACKAGE_QT6DECLARATIVE),y)
+QT6SENSORS_DEPENDENCIES += qt6declarative
+endif
+
+$(eval $(cmake-package))
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 06/10] package/qt6/qt6speech: new package
2025-05-15 10:36 [Buildroot] [PATCH 01/10] package/qt6: bump version to 6.9.0 Roy Kollen Svendsen
` (3 preceding siblings ...)
2025-05-15 10:36 ` [Buildroot] [PATCH 05/10] package/qt6/qt6sensors: " Roy Kollen Svendsen
@ 2025-05-15 10:36 ` Roy Kollen Svendsen
2025-05-15 10:36 ` [Buildroot] [PATCH 07/10] package/qt6/qt6base: fix build when xcb support is enabled Roy Kollen Svendsen
` (3 subsequent siblings)
8 siblings, 0 replies; 18+ messages in thread
From: Roy Kollen Svendsen @ 2025-05-15 10:36 UTC (permalink / raw)
To: buildroot
Cc: Christian Hitz, Roy Kollen Svendsen, Thomas Petazzoni,
Zoltan Gyarmati, Baxiche Su, Jesse Van Gavere
Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
---
package/qt6/Config.in | 1 +
package/qt6/qt6speech/Config.in | 8 ++++++
package/qt6/qt6speech/qt6speech.hash | 10 ++++++++
package/qt6/qt6speech/qt6speech.mk | 37 ++++++++++++++++++++++++++++
4 files changed, 56 insertions(+)
create mode 100644 package/qt6/qt6speech/Config.in
create mode 100644 package/qt6/qt6speech/qt6speech.hash
create mode 100644 package/qt6/qt6speech/qt6speech.mk
diff --git a/package/qt6/Config.in b/package/qt6/Config.in
index 05f0540db0..4251b134d4 100644
--- a/package/qt6/Config.in
+++ b/package/qt6/Config.in
@@ -62,6 +62,7 @@ source "package/qt6/qt6sensors/Config.in"
source "package/qt6/qt6serialbus/Config.in"
source "package/qt6/qt6serialport/Config.in"
source "package/qt6/qt6shadertools/Config.in"
+source "package/qt6/qt6speech/Config.in"
source "package/qt6/qt6svg/Config.in"
source "package/qt6/qt6tools/Config.in"
source "package/qt6/qt6virtualkeyboard/Config.in"
diff --git a/package/qt6/qt6speech/Config.in b/package/qt6/qt6speech/Config.in
new file mode 100644
index 0000000000..3bcadd799e
--- /dev/null
+++ b/package/qt6/qt6speech/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_QT6SPEECH
+ bool "qt6speech"
+ select BR2_PACKAGE_QT6MULTIMEDIA
+ help
+ This package provides the Qt TextToSpeech module:
+
+ https://code.qt.io/cgit/qt/qtspeech.git
+ https://doc.qt.io/qt-6/qttexttospeech-index.html
diff --git a/package/qt6/qt6speech/qt6speech.hash b/package/qt6/qt6speech/qt6speech.hash
new file mode 100644
index 0000000000..139d6e7abe
--- /dev/null
+++ b/package/qt6/qt6speech/qt6speech.hash
@@ -0,0 +1,10 @@
+# Hash from: https://download.qt.io/official_releases/qt/6.9/6.9.0/submodules/qtspeech-everywhere-src-6.9.0.tar.xz.sha256
+sha256 a981b68c71743d77a3ce4437ad118d3851390f05a1ab26a859fb9b8c5938c971 qtspeech-everywhere-src-6.9.0.tar.xz
+
+# Hashes for license files:
+sha256 9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce LICENSES/BSD-3-Clause.txt
+sha256 110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4 LICENSES/GFDL-1.3-no-invariants-only.txt
+sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0-only.txt
+sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt
+sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt
+sha256 9b1f50aae6267f9d5e0ceb6775ee86450262c25ec7c0573e151fe5d3f18a4700 LICENSES/LicenseRef-Qt-Commercial.txt
diff --git a/package/qt6/qt6speech/qt6speech.mk b/package/qt6/qt6speech/qt6speech.mk
new file mode 100644
index 0000000000..5df2ce8155
--- /dev/null
+++ b/package/qt6/qt6speech/qt6speech.mk
@@ -0,0 +1,37 @@
+################################################################################
+#
+# qt6speech
+#
+################################################################################
+
+QT6SPEECH_VERSION = $(QT6_VERSION)
+QT6SPEECH_SITE = $(QT6_SITE)
+QT6SPEECH_SOURCE = qtspeech-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6SPEECH_VERSION).tar.xz
+QT6SPEECH_INSTALL_STAGING = YES
+QT6SPEECH_SUPPORTS_IN_SOURCE_BUILD = NO
+QT6SPEECH_CMAKE_BACKEND = ninja
+QT6SPEECH_LICENSE = LGPL-3.0 or GPL-2.0
+
+QT6SPEECH_LICENSE_FILES = \
+ LICENSES/BSD-3-Clause.txt \
+ LICENSES/GFDL-1.3-no-invariants-only.txt \
+ LICENSES/GPL-2.0-only.txt \
+ LICENSES/GPL-3.0-only.txt \
+ LICENSES/LGPL-3.0-only.txt \
+ LICENSES/LicenseRef-Qt-Commercial.txt
+
+QT6SPEECH_CONF_OPTS = \
+ -DBUILD_WITH_PCH=OFF \
+ -DQT_BUILD_EXAMPLES=OFF \
+ -DQT_BUILD_TESTS=OFF \
+ -DQT_HOST_PATH=$(HOST_DIR)
+
+QT6SPEECH_DEPENDENCIES = \
+ qt6base \
+ qt6multimedia
+
+ifeq ($(BR2_PACKAGE_QT6DECLARATIVE),y)
+QT6SPEECH_DEPENDENCIES += qt6declarative
+endif
+
+$(eval $(cmake-package))
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 07/10] package/qt6/qt6base: fix build when xcb support is enabled
2025-05-15 10:36 [Buildroot] [PATCH 01/10] package/qt6: bump version to 6.9.0 Roy Kollen Svendsen
` (4 preceding siblings ...)
2025-05-15 10:36 ` [Buildroot] [PATCH 06/10] package/qt6/qt6speech: " Roy Kollen Svendsen
@ 2025-05-15 10:36 ` Roy Kollen Svendsen
2025-05-31 16:57 ` Arnout Vandecappelle via buildroot
2025-05-15 10:36 ` [Buildroot] [PATCH 08/10] package/qt6/qt6multimedia: fix ffmpeg plugin build for x11 Roy Kollen Svendsen
` (2 subsequent siblings)
8 siblings, 1 reply; 18+ messages in thread
From: Roy Kollen Svendsen @ 2025-05-15 10:36 UTC (permalink / raw)
To: buildroot
Cc: Christian Hitz, Roy Kollen Svendsen, Thomas Petazzoni,
Zoltan Gyarmati, Baxiche Su, Jesse Van Gavere
Fixes:
ERROR: Feature "xcb": Forcing to "ON" breaks its condition:
QT_FEATURE_thread AND TARGET XCB::XCB AND TEST_xcb_syslibs AND QT_FEATURE_xkbcommon_x11
Condition values dump:
QT_FEATURE_thread = "ON"
TARGET XCB::XCB found
TEST_xcb_syslibs = "FALSE"
QT_FEATURE_xkbcommon_x11 not evaluated
The xcb feature is defined in [2].
According to [1] XCB::CURSOR is needed for xcb support.
[1] https://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/configure.cmake?h=6.9.0#n522
[2] https://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/configure.cmake?h=6.9.0#n1016
This bug was introduced in e634be8906bd64d6a9de1768204d0f03d8d8357a.
Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
---
package/qt6/qt6base/qt6base.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/qt6/qt6base/qt6base.mk b/package/qt6/qt6base/qt6base.mk
index a4c56da601..39fb440be7 100644
--- a/package/qt6/qt6base/qt6base.mk
+++ b/package/qt6/qt6base/qt6base.mk
@@ -211,6 +211,7 @@ QT6BASE_CONF_OPTS += \
QT6BASE_DEPENDENCIES += \
libxcb \
libxkbcommon \
+ xcb-util-cursor \
xcb-util-wm \
xcb-util-image \
xcb-util-keysyms \
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 18+ messages in thread* Re: [Buildroot] [PATCH 07/10] package/qt6/qt6base: fix build when xcb support is enabled
2025-05-15 10:36 ` [Buildroot] [PATCH 07/10] package/qt6/qt6base: fix build when xcb support is enabled Roy Kollen Svendsen
@ 2025-05-31 16:57 ` Arnout Vandecappelle via buildroot
0 siblings, 0 replies; 18+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2025-05-31 16:57 UTC (permalink / raw)
To: Roy Kollen Svendsen, buildroot
Cc: Christian Hitz, Thomas Petazzoni, Zoltan Gyarmati, Baxiche Su,
Jesse Van Gavere
On 15/05/2025 12:36, Roy Kollen Svendsen wrote:
> Fixes:
> ERROR: Feature "xcb": Forcing to "ON" breaks its condition:
> QT_FEATURE_thread AND TARGET XCB::XCB AND TEST_xcb_syslibs AND QT_FEATURE_xkbcommon_x11
> Condition values dump:
> QT_FEATURE_thread = "ON"
> TARGET XCB::XCB found
> TEST_xcb_syslibs = "FALSE"
> QT_FEATURE_xkbcommon_x11 not evaluated
>
> The xcb feature is defined in [2].
>
> According to [1] XCB::CURSOR is needed for xcb support.
>
> [1] https://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/configure.cmake?h=6.9.0#n522
> [2] https://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/configure.cmake?h=6.9.0#n1016
>
> This bug was introduced in e634be8906bd64d6a9de1768204d0f03d8d8357a.
>
> Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
Applied to 2025.02.x, thanks.
Regards,
Arnout
> ---
> package/qt6/qt6base/qt6base.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/qt6/qt6base/qt6base.mk b/package/qt6/qt6base/qt6base.mk
> index a4c56da601..39fb440be7 100644
> --- a/package/qt6/qt6base/qt6base.mk
> +++ b/package/qt6/qt6base/qt6base.mk
> @@ -211,6 +211,7 @@ QT6BASE_CONF_OPTS += \
> QT6BASE_DEPENDENCIES += \
> libxcb \
> libxkbcommon \
> + xcb-util-cursor \
> xcb-util-wm \
> xcb-util-image \
> xcb-util-keysyms \
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Buildroot] [PATCH 08/10] package/qt6/qt6multimedia: fix ffmpeg plugin build for x11
2025-05-15 10:36 [Buildroot] [PATCH 01/10] package/qt6: bump version to 6.9.0 Roy Kollen Svendsen
` (5 preceding siblings ...)
2025-05-15 10:36 ` [Buildroot] [PATCH 07/10] package/qt6/qt6base: fix build when xcb support is enabled Roy Kollen Svendsen
@ 2025-05-15 10:36 ` Roy Kollen Svendsen
2025-05-15 10:36 ` [Buildroot] [PATCH 09/10] package/qt6/qt6tools: build only host linguist tools Roy Kollen Svendsen
2025-05-15 10:36 ` [Buildroot] [PATCH 10/10] package/qt6/qt6tools: re-add basic target package Roy Kollen Svendsen
8 siblings, 0 replies; 18+ messages in thread
From: Roy Kollen Svendsen @ 2025-05-15 10:36 UTC (permalink / raw)
To: buildroot
Cc: Christian Hitz, Roy Kollen Svendsen, Thomas Petazzoni,
Zoltan Gyarmati, Baxiche Su, Jesse Van Gavere
Fixes:
[14/216] Building CXX object src/plugins/multimedia/ffmpeg/CMakeFiles/FFmpegMediaPluginImplPrivate.dir/qx11surfacecapture.cpp.o
FAILED: src/plugins/multimedia/ffmpeg/CMakeFiles/FFmpegMediaPluginImplPrivate.dir/qx11surfacecapture.cpp.o
...
23 | #include <X11/extensions/Xrandr.h>
...
Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
---
package/qt6/qt6multimedia/Config.in | 3 +++
package/qt6/qt6multimedia/qt6multimedia.mk | 5 +++++
2 files changed, 8 insertions(+)
diff --git a/package/qt6/qt6multimedia/Config.in b/package/qt6/qt6multimedia/Config.in
index ae555f98ea..2a9c4f3ca4 100644
--- a/package/qt6/qt6multimedia/Config.in
+++ b/package/qt6/qt6multimedia/Config.in
@@ -38,6 +38,9 @@ config BR2_PACKAGE_QT6MULTIMEDIA_FFMPEG
select BR2_PACKAGE_FFMPEG_SWSCALE
select BR2_PACKAGE_QT6BASE_CONCURRENT
select BR2_PACKAGE_QT6MULTIMEDIA_PULSEAUDIO
+ # libxrandr is needen for ffmpeg plugin to build with X11 support:
+ # https://code.qt.io/cgit/qt/qtmultimedia.git/tree/src/plugins/multimedia/ffmpeg/CMakeLists.txt?h=6.9.0#n182
+ select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_XORG7
help
This option enables ffmpeg media backend.
diff --git a/package/qt6/qt6multimedia/qt6multimedia.mk b/package/qt6/qt6multimedia/qt6multimedia.mk
index 48497ef0ed..53ccc70389 100644
--- a/package/qt6/qt6multimedia/qt6multimedia.mk
+++ b/package/qt6/qt6multimedia/qt6multimedia.mk
@@ -58,6 +58,11 @@ endif
ifeq ($(BR2_PACKAGE_QT6MULTIMEDIA_FFMPEG),y)
QT6MULTIMEDIA_CONF_OPTS += -DFEATURE_ffmpeg=ON
QT6MULTIMEDIA_DEPENDENCIES += ffmpeg
+# libxrandr is needen for ffmpeg plugin to build with X11 support:
+# https://code.qt.io/cgit/qt/qtmultimedia.git/tree/src/plugins/multimedia/ffmpeg/CMakeLists.txt?h=6.9.0#n182
+ifeq ($(BR2_PACKAGE_XORG7),y)
+QT6MULTIMEDIA_DEPENDENCIES += xlib_libXrandr
+endif
else
QT6MULTIMEDIA_CONF_OPTS += -DFEATURE_ffmpeg=OFF
endif
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 09/10] package/qt6/qt6tools: build only host linguist tools
2025-05-15 10:36 [Buildroot] [PATCH 01/10] package/qt6: bump version to 6.9.0 Roy Kollen Svendsen
` (6 preceding siblings ...)
2025-05-15 10:36 ` [Buildroot] [PATCH 08/10] package/qt6/qt6multimedia: fix ffmpeg plugin build for x11 Roy Kollen Svendsen
@ 2025-05-15 10:36 ` Roy Kollen Svendsen
2025-05-16 20:51 ` Thomas Petazzoni via buildroot
2025-05-15 10:36 ` [Buildroot] [PATCH 10/10] package/qt6/qt6tools: re-add basic target package Roy Kollen Svendsen
8 siblings, 1 reply; 18+ messages in thread
From: Roy Kollen Svendsen @ 2025-05-15 10:36 UTC (permalink / raw)
To: buildroot
Cc: Christian Hitz, Roy Kollen Svendsen, Thomas Petazzoni,
Zoltan Gyarmati, Baxiche Su, Jesse Van Gavere
Strip down qt6tools to the bare minimum by:
- Removing the target package
- Disabling all features except for the linguist tools
This change addresses ongoing issues with qt6tools and focuses on its
primary intended use: providing linguist tools for translating Qt6
applications during the build process.
The linguist tools are essential for internationalization (i18n) of Qt6
applications and are now available as a host package for cross-compilation
purposes.
This modification should resolve stability issues while still maintaining
the core functionality required for Qt6 application translation.
update host package
Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
---
package/qt6/Config.in | 1 -
package/qt6/qt6tools/Config.in | 13 -------
package/qt6/qt6tools/Config.in.host | 16 ++------
package/qt6/qt6tools/qt6tools.hash | 6 ---
package/qt6/qt6tools/qt6tools.mk | 59 ++++++++++++-----------------
5 files changed, 29 insertions(+), 66 deletions(-)
delete mode 100644 package/qt6/qt6tools/Config.in
diff --git a/package/qt6/Config.in b/package/qt6/Config.in
index 4251b134d4..08866a370d 100644
--- a/package/qt6/Config.in
+++ b/package/qt6/Config.in
@@ -64,7 +64,6 @@ source "package/qt6/qt6serialport/Config.in"
source "package/qt6/qt6shadertools/Config.in"
source "package/qt6/qt6speech/Config.in"
source "package/qt6/qt6svg/Config.in"
-source "package/qt6/qt6tools/Config.in"
source "package/qt6/qt6virtualkeyboard/Config.in"
source "package/qt6/qt6wayland/Config.in"
source "package/qt6/qt6websockets/Config.in"
diff --git a/package/qt6/qt6tools/Config.in b/package/qt6/qt6tools/Config.in
deleted file mode 100644
index 1828e5f043..0000000000
--- a/package/qt6/qt6tools/Config.in
+++ /dev/null
@@ -1,13 +0,0 @@
-config BR2_PACKAGE_QT6TOOLS
- bool "qt6tools"
- # The Qt Network module is required
- select BR2_PACKAGE_QT6BASE_NETWORK
- select BR2_PACKAGE_HOST_QT6TOOLS
- help
- Qt is a cross-platform application and UI framework for
- developers using C++.
-
- Qt Tools provides tools facilitate the development
- and design of applications.
-
- https://github.com/qt/qttools
diff --git a/package/qt6/qt6tools/Config.in.host b/package/qt6/qt6tools/Config.in.host
index 7a6f8a5176..ef089bb9f4 100644
--- a/package/qt6/qt6tools/Config.in.host
+++ b/package/qt6/qt6tools/Config.in.host
@@ -1,18 +1,9 @@
config BR2_PACKAGE_HOST_QT6TOOLS
bool "host qt6tools"
- # The Qt Qt Network module is required
- select BR2_PACKAGE_HOST_QT6BASE_NETWORK
- # Requires the Qt Sql module to build the qhelpgenerator
- # tool, if target support for Sql is present
- select BR2_PACKAGE_HOST_QT6BASE_SQL if BR2_PACKAGE_QT6BASE_SQL
help
- Qt is a cross-platform application and UI framework for
- developers using C++.
+ This package provides Qt6 Tools:
- Qt Tools provides tools facilitate the development
- and design of applications.
-
- https://github.com/qt/qttools
+ https://code.qt.io/cgit/qt/qttools.git
if BR2_PACKAGE_HOST_QT6TOOLS
@@ -20,6 +11,7 @@ config BR2_PACKAGE_HOST_QT6TOOLS_LINGUIST_TOOLS
bool "host linguist tools"
help
Translate Qt C++ and Qt Quick applications into local
- languages.
+ languages. Includes tools like lupdate, lrelease, and
+ lconvert for managing translation files.
endif
diff --git a/package/qt6/qt6tools/qt6tools.hash b/package/qt6/qt6tools/qt6tools.hash
index e18512faf9..44574390c3 100644
--- a/package/qt6/qt6tools/qt6tools.hash
+++ b/package/qt6/qt6tools/qt6tools.hash
@@ -2,11 +2,5 @@
sha256 fa645589cc3f939022401a926825972a44277dead8ec8607d9f2662e6529c9a4 qttools-everywhere-src-6.9.0.tar.xz
# Hashes for license files:
-sha256 9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce LICENSES/BSD-3-Clause.txt
-sha256 3abd6471b9a9a08d65ce771143f8e278bb4c1aeb10c1c2d476935a6b049653f5 LICENSES/BSL-1.0.txt
-sha256 110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4 LICENSES/GFDL-1.3-no-invariants-only.txt
-sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0-only.txt
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/qt6tools/qt6tools.mk b/package/qt6/qt6tools/qt6tools.mk
index b063f08887..6240fe7ee8 100644
--- a/package/qt6/qt6tools/qt6tools.mk
+++ b/package/qt6/qt6tools/qt6tools.mk
@@ -7,57 +7,48 @@
QT6TOOLS_VERSION = $(QT6_VERSION)
QT6TOOLS_SITE = $(QT6_SITE)
QT6TOOLS_SOURCE = qttools-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6TOOLS_VERSION).tar.xz
-QT6TOOLS_INSTALL_STAGING = YES
QT6TOOLS_SUPPORTS_IN_SOURCE_BUILD = NO
-
QT6TOOLS_CMAKE_BACKEND = ninja
-
-QT6TOOLS_LICENSE = \
- BSD-3-Clause (examples), \
- BSD-3-Clause (corecon), \
- BSL-1.0 (catch), \
- LGPL-3.0 or GPL-3.0 or GPL-2.0, \
- GPL-3.0 WITH Qt-GPL-exception-1.0
+QT6TOOLS_LICENSE = GPL-3.0 with Qt-GPL-exception-1.0 (host linguist tools)
QT6TOOLS_LICENSE_FILES = \
- LICENSES/BSD-3-Clause.txt \
- LICENSES/BSL-1.0.txt \
- LICENSES/GPL-2.0-only.txt \
LICENSES/GPL-3.0-only.txt \
- LICENSES/LGPL-3.0-only.txt \
LICENSES/Qt-GPL-exception-1.0.txt
-QT6TOOLS_CONF_OPTS = \
- -DQT_HOST_PATH=$(HOST_DIR) \
- -DBUILD_WITH_PCH=OFF \
- -DQT_BUILD_EXAMPLES=OFF \
- -DQT_BUILD_TESTS=OFF
-
-QT6TOOLS_DEPENDENCIES = \
- qt6base \
- host-qt6tools
-
-ifeq ($(BR2_PACKAGE_QT6DECLARATIVE),y)
-QT6TOOLS_DEPENDENCIES += qt6declarative
-endif
-
+# https://code.qt.io/cgit/qt/qttools.git/tree/configure.cmake?h=6.9.0
HOST_QT6TOOLS_CONF_OPTS = \
+ -DFEATURE_assistant=OFF \
+ -DFEATURE_attributionsscanner=OFF \
+ -DFEATURE_clang=OFF \
+ -DFEATURE_clang_rtti=OFF \
+ -DFEATURE_clangcpp=OFF \
+ -DFEATURE_designer=OFF \
+ -DFEATURE_distancefieldgenerator=OFF \
+ -DFEATURE_kmap2qmap=OFF \
+ -DFEATURE_pixeltool=OFF \
+ -DFEATURE_qdbus=OFF \
+ -DFEATURE_qdoc=OFF \
+ -DFEATURE_qev=OFF \
+ -DFEATURE_qtattributionsscanner=OFF \
+ -DFEATURE_qtdiag=OFF \
+ -DFEATURE_qtplugininfo=OFF \
-DQT_BUILD_EXAMPLES=OFF \
-DQT_BUILD_TESTS=OFF
HOST_QT6TOOLS_DEPENDENCIES = host-qt6base
-ifeq ($(BR2_PACKAGE_HOST_QT6TOOLS_LINGUIST_TOOLS),y)
-HOST_QT6TOOLS_CONF_OPTS += -DFEATURE_linguist=ON
-# When we have qt6declarative for the target, we need to build the
-# linguist tool with host-qt6declarative support so that it handles
-# QML/JS files
-ifeq ($(BR2_PACKAGE_QT6DECLARATIVE),y)
+ifeq ($(BR2_PACKAGE_HOST_QT6DECLARATIVE),y)
+# https://code.qt.io/cgit/qt/qttools.git/tree/src/linguist/lupdate/CMakeLists.txt?h=6.9.0#n61
HOST_QT6TOOLS_DEPENDENCIES += host-qt6declarative
endif
+
+ifeq ($(BR2_PACKAGE_HOST_QT6TOOLS_LINGUIST_TOOLS),y)
+# https://code.qt.io/cgit/qt/qttools.git/tree/configure.cmake?h=6.9.0#n63
+# https://code.qt.io/cgit/qt/qttools.git/tree/src/CMakeLists.txt?h=6.9.0#n26
+# https://code.qt.io/cgit/qt/qttools.git/tree/src/linguist/CMakeLists.txt?h=6.9.0#n8
+HOST_QT6TOOLS_CONF_OPTS += -DFEATURE_linguist=ON
else
HOST_QT6TOOLS_CONF_OPTS += -DFEATURE_linguist=OFF
endif
-$(eval $(cmake-package))
$(eval $(host-cmake-package))
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 18+ messages in thread* Re: [Buildroot] [PATCH 09/10] package/qt6/qt6tools: build only host linguist tools
2025-05-15 10:36 ` [Buildroot] [PATCH 09/10] package/qt6/qt6tools: build only host linguist tools Roy Kollen Svendsen
@ 2025-05-16 20:51 ` Thomas Petazzoni via buildroot
2025-05-17 5:18 ` Roy Kollen Svendsen
0 siblings, 1 reply; 18+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-05-16 20:51 UTC (permalink / raw)
To: Roy Kollen Svendsen
Cc: buildroot, Christian Hitz, Zoltan Gyarmati, Baxiche Su,
Jesse Van Gavere
Hello Roy,
Thanks for the great patch series! I'm going through it, and I'm hoping
to merge it progressively in the next days. I have one question on this
patch though.
On Thu, 15 May 2025 12:36:25 +0200
Roy Kollen Svendsen <roykollensvendsen@gmail.com> wrote:
> Strip down qt6tools to the bare minimum by:
> - Removing the target package
> - Disabling all features except for the linguist tools
>
> This change addresses ongoing issues with qt6tools and focuses on its
> primary intended use: providing linguist tools for translating Qt6
> applications during the build process.
>
> The linguist tools are essential for internationalization (i18n) of Qt6
> applications and are now available as a host package for cross-compilation
> purposes.
>
> This modification should resolve stability issues while still maintaining
> the core functionality required for Qt6 application translation.
>
> update host package
What does this mean?
> Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
Could you clarify why PATCH 09/10 and 10/10 are separate? It feels odd
to drop the target package, only to re-introduce it one commit after. I
was thinking of squashing both commits together. What do you think?
Thanks for your feedback!
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] 18+ messages in thread
* Re: [Buildroot] [PATCH 09/10] package/qt6/qt6tools: build only host linguist tools
2025-05-16 20:51 ` Thomas Petazzoni via buildroot
@ 2025-05-17 5:18 ` Roy Kollen Svendsen
2025-05-17 5:44 ` Roy Kollen Svendsen
2025-05-17 6:42 ` Thomas Petazzoni via buildroot
0 siblings, 2 replies; 18+ messages in thread
From: Roy Kollen Svendsen @ 2025-05-17 5:18 UTC (permalink / raw)
To: Thomas Petazzoni
Cc: buildroot, Christian Hitz, Zoltan Gyarmati, Baxiche Su,
Jesse Van Gavere
[-- Attachment #1.1: Type: text/plain, Size: 1853 bytes --]
fre. 16. mai 2025 kl. 22:52 skrev Thomas Petazzoni <
thomas.petazzoni@bootlin.com>:
> Hello Roy,
>
> Thanks for the great patch series! I'm going through it, and I'm hoping
> to merge it progressively in the next days. I have one question on this
> patch though.
>
> On Thu, 15 May 2025 12:36:25 +0200
> Roy Kollen Svendsen <roykollensvendsen@gmail.com> wrote:
>
> > Strip down qt6tools to the bare minimum by:
> > - Removing the target package
> > - Disabling all features except for the linguist tools
> >
> > This change addresses ongoing issues with qt6tools and focuses on its
> > primary intended use: providing linguist tools for translating Qt6
> > applications during the build process.
> >
> > The linguist tools are essential for internationalization (i18n) of Qt6
> > applications and are now available as a host package for
> cross-compilation
> > purposes.
> >
> > This modification should resolve stability issues while still maintaining
> > the core functionality required for Qt6 application translation.
> >
> > update host package
>
> What does this mean?
>
>
The last sentence ended up there unintentionally during a rebase.
> > Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
>
> Could you clarify why PATCH 09/10 and 10/10 are separate? It feels odd
> to drop the target package, only to re-introduce it one commit after. I
> was thinking of squashing both commits together. What do you think?
>
I think it is best to drop patch 10/10 for now. I can reintroduce that
change when I need it.
By the way, is 9/10 too large? Should we split the commit? Maybe it is
better to gradually
fix the concrete build failures than "starting from scratch?"
Thanks for your feedback!
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
>
[-- Attachment #1.2: Type: text/html, Size: 2974 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Buildroot] [PATCH 09/10] package/qt6/qt6tools: build only host linguist tools
2025-05-17 5:18 ` Roy Kollen Svendsen
@ 2025-05-17 5:44 ` Roy Kollen Svendsen
2025-05-17 6:42 ` Thomas Petazzoni via buildroot
1 sibling, 0 replies; 18+ messages in thread
From: Roy Kollen Svendsen @ 2025-05-17 5:44 UTC (permalink / raw)
To: Thomas Petazzoni
Cc: buildroot, Christian Hitz, Zoltan Gyarmati, Baxiche Su,
Jesse Van Gavere
[-- Attachment #1.1: Type: text/plain, Size: 2324 bytes --]
lør. 17. mai 2025 kl. 07:18 skrev Roy Kollen Svendsen <
roykollensvendsen@gmail.com>:
>
>
> fre. 16. mai 2025 kl. 22:52 skrev Thomas Petazzoni <
> thomas.petazzoni@bootlin.com>:
>
>> Hello Roy,
>>
>> Thanks for the great patch series! I'm going through it, and I'm hoping
>> to merge it progressively in the next days. I have one question on this
>> patch though.
>>
>> On Thu, 15 May 2025 12:36:25 +0200
>> Roy Kollen Svendsen <roykollensvendsen@gmail.com> wrote:
>>
>> > Strip down qt6tools to the bare minimum by:
>> > - Removing the target package
>> > - Disabling all features except for the linguist tools
>> >
>>
>
------
> > This change addresses ongoing issues with qt6tools and focuses on its
>>
> > primary intended use: providing linguist tools for translating Qt6
>> > applications during the build process.
>>
> >
>> > The linguist tools are essential for internationalization (i18n) of Qt6
>> > applications and are now available as a host package for
>> cross-compilation
>> > purposes.
>> >
>>
> > This modification should resolve stability issues while still maintaining
>>
> > the core functionality required for Qt6 application translation.
>>
> ------
Should probably remove the lines above from the commit message. And replace
it by something like:
Reboot the package to avoid solving build problems that should not exist in
the first place.
> >
>> > update host package
>>
>> What does this mean?
>>
>>
> The last sentence ended up there unintentionally during a rebase.
>
>
>> > Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
>>
>> Could you clarify why PATCH 09/10 and 10/10 are separate? It feels odd
>> to drop the target package, only to re-introduce it one commit after. I
>> was thinking of squashing both commits together. What do you think?
>>
>
> I think it is best to drop patch 10/10 for now. I can reintroduce that
> change when I need it.
>
> By the way, is 9/10 too large? Should we split the commit? Maybe it is
> better to gradually
> fix the concrete build failures than "starting from scratch?"
>
> Thanks for your feedback!
>>
>> Thomas
>> --
>> Thomas Petazzoni, co-owner and CEO, Bootlin
>> Embedded Linux and Kernel engineering and training
>> https://bootlin.com
>>
>
[-- Attachment #1.2: Type: text/html, Size: 5617 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Buildroot] [PATCH 09/10] package/qt6/qt6tools: build only host linguist tools
2025-05-17 5:18 ` Roy Kollen Svendsen
2025-05-17 5:44 ` Roy Kollen Svendsen
@ 2025-05-17 6:42 ` Thomas Petazzoni via buildroot
2025-05-17 16:48 ` Roy Kollen Svendsen
2025-05-19 21:13 ` Roy Kollen Svendsen
1 sibling, 2 replies; 18+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-05-17 6:42 UTC (permalink / raw)
To: Roy Kollen Svendsen
Cc: buildroot, Christian Hitz, Zoltan Gyarmati, Baxiche Su,
Jesse Van Gavere
Hello Roy,
On Sat, 17 May 2025 07:18:19 +0200
Roy Kollen Svendsen <roykollensvendsen@gmail.com> wrote:
> fre. 16.
> > What does this mean?
> >
> The last sentence ended up there unintentionally during a rebase.
OK, that's what I thought :-)
> I think it is best to drop patch 10/10 for now. I can reintroduce that
> change when I need it.
>
> By the way, is 9/10 too large? Should we split the commit? Maybe it is
> better to gradually fix the concrete build failures than "starting
> from scratch?"
What are the concrete build failures being fixed? What are the
"on-going" issues that you are referring to. Keep in mind that we are
maintaining a LTS branch, to which we backport fixes so we really want
to understand when things broke, and therefore whether the fixes should
be backported.
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] 18+ messages in thread
* Re: [Buildroot] [PATCH 09/10] package/qt6/qt6tools: build only host linguist tools
2025-05-17 6:42 ` Thomas Petazzoni via buildroot
@ 2025-05-17 16:48 ` Roy Kollen Svendsen
2025-05-19 21:13 ` Roy Kollen Svendsen
1 sibling, 0 replies; 18+ messages in thread
From: Roy Kollen Svendsen @ 2025-05-17 16:48 UTC (permalink / raw)
To: Thomas Petazzoni
Cc: buildroot, Christian Hitz, Zoltan Gyarmati, Baxiche Su,
Jesse Van Gavere
[-- Attachment #1.1: Type: text/plain, Size: 1200 bytes --]
lør. 17. mai 2025 kl. 08:42 skrev Thomas Petazzoni <
thomas.petazzoni@bootlin.com>:
> Hello Roy,
>
> On Sat, 17 May 2025 07:18:19 +0200
> Roy Kollen Svendsen <roykollensvendsen@gmail.com> wrote:
>
> > fre. 16.
> > > What does this mean?
> > >
> > The last sentence ended up there unintentionally during a rebase.
>
> OK, that's what I thought :-)
>
> > I think it is best to drop patch 10/10 for now. I can reintroduce that
> > change when I need it.
> >
> > By the way, is 9/10 too large? Should we split the commit? Maybe it is
> > better to gradually fix the concrete build failures than "starting
> > from scratch?"
>
> What are the concrete build failures being fixed? What are the
> "on-going" issues that you are referring to. Keep in mind that we are
> maintaining a LTS branch, to which we backport fixes so we really want
> to understand when things broke, and therefore whether the fixes should
> be backported.
>
I'll try to recreate the build errors and read through my e-mail again.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
>
[-- Attachment #1.2: Type: text/html, Size: 1970 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Buildroot] [PATCH 09/10] package/qt6/qt6tools: build only host linguist tools
2025-05-17 6:42 ` Thomas Petazzoni via buildroot
2025-05-17 16:48 ` Roy Kollen Svendsen
@ 2025-05-19 21:13 ` Roy Kollen Svendsen
2025-05-20 5:13 ` Roy Kollen Svendsen
1 sibling, 1 reply; 18+ messages in thread
From: Roy Kollen Svendsen @ 2025-05-19 21:13 UTC (permalink / raw)
To: Thomas Petazzoni
Cc: buildroot, Christian Hitz, Zoltan Gyarmati, Baxiche Su,
Jesse Van Gavere
[-- Attachment #1.1: Type: text/plain, Size: 1288 bytes --]
Hi,
In this v2 I think I have fixed the most glaring problems with qt6tools:
https://patchwork.ozlabs.org/project/buildroot/list/?series=457528
Regards,
Roy
lør. 17. mai 2025 kl. 08:42 skrev Thomas Petazzoni <
thomas.petazzoni@bootlin.com>:
> Hello Roy,
>
> On Sat, 17 May 2025 07:18:19 +0200
> Roy Kollen Svendsen <roykollensvendsen@gmail.com> wrote:
>
> > fre. 16.
> > > What does this mean?
> > >
> > The last sentence ended up there unintentionally during a rebase.
>
> OK, that's what I thought :-)
>
> > I think it is best to drop patch 10/10 for now. I can reintroduce that
> > change when I need it.
> >
> > By the way, is 9/10 too large? Should we split the commit? Maybe it is
> > better to gradually fix the concrete build failures than "starting
> > from scratch?"
>
> What are the concrete build failures being fixed? What are the
> "on-going" issues that you are referring to. Keep in mind that we are
> maintaining a LTS branch, to which we backport fixes so we really want
> to understand when things broke, and therefore whether the fixes should
> be backported.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
>
[-- Attachment #1.2: Type: text/html, Size: 2030 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Buildroot] [PATCH 09/10] package/qt6/qt6tools: build only host linguist tools
2025-05-19 21:13 ` Roy Kollen Svendsen
@ 2025-05-20 5:13 ` Roy Kollen Svendsen
0 siblings, 0 replies; 18+ messages in thread
From: Roy Kollen Svendsen @ 2025-05-20 5:13 UTC (permalink / raw)
To: Thomas Petazzoni
Cc: buildroot, Christian Hitz, Zoltan Gyarmati, Baxiche Su,
Jesse Van Gavere
[-- Attachment #1.1: Type: text/plain, Size: 1489 bytes --]
I encountered another build failure, so making a v3.
man. 19. mai 2025 kl. 23:13 skrev Roy Kollen Svendsen <
roykollensvendsen@gmail.com>:
> Hi,
>
> In this v2 I think I have fixed the most glaring problems with qt6tools:
>
> https://patchwork.ozlabs.org/project/buildroot/list/?series=457528
>
> Regards,
> Roy
>
> lør. 17. mai 2025 kl. 08:42 skrev Thomas Petazzoni <
> thomas.petazzoni@bootlin.com>:
>
>> Hello Roy,
>>
>> On Sat, 17 May 2025 07:18:19 +0200
>> Roy Kollen Svendsen <roykollensvendsen@gmail.com> wrote:
>>
>> > fre. 16.
>> > > What does this mean?
>> > >
>> > The last sentence ended up there unintentionally during a rebase.
>>
>> OK, that's what I thought :-)
>>
>> > I think it is best to drop patch 10/10 for now. I can reintroduce that
>> > change when I need it.
>> >
>> > By the way, is 9/10 too large? Should we split the commit? Maybe it is
>> > better to gradually fix the concrete build failures than "starting
>> > from scratch?"
>>
>> What are the concrete build failures being fixed? What are the
>> "on-going" issues that you are referring to. Keep in mind that we are
>> maintaining a LTS branch, to which we backport fixes so we really want
>> to understand when things broke, and therefore whether the fixes should
>> be backported.
>>
>> Best regards,
>>
>> Thomas
>> --
>> Thomas Petazzoni, co-owner and CEO, Bootlin
>> Embedded Linux and Kernel engineering and training
>> https://bootlin.com
>>
>
[-- Attachment #1.2: Type: text/html, Size: 2489 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Buildroot] [PATCH 10/10] package/qt6/qt6tools: re-add basic target package
2025-05-15 10:36 [Buildroot] [PATCH 01/10] package/qt6: bump version to 6.9.0 Roy Kollen Svendsen
` (7 preceding siblings ...)
2025-05-15 10:36 ` [Buildroot] [PATCH 09/10] package/qt6/qt6tools: build only host linguist tools Roy Kollen Svendsen
@ 2025-05-15 10:36 ` Roy Kollen Svendsen
8 siblings, 0 replies; 18+ messages in thread
From: Roy Kollen Svendsen @ 2025-05-15 10:36 UTC (permalink / raw)
To: buildroot
Cc: Christian Hitz, Roy Kollen Svendsen, Thomas Petazzoni,
Zoltan Gyarmati, Baxiche Su, Jesse Van Gavere
Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
---
package/qt6/Config.in | 1 +
package/qt6/qt6tools/Config.in | 20 ++++++++++++++++++++
package/qt6/qt6tools/qt6tools.mk | 28 +++++++++++++++++++++++++++-
3 files changed, 48 insertions(+), 1 deletion(-)
create mode 100644 package/qt6/qt6tools/Config.in
diff --git a/package/qt6/Config.in b/package/qt6/Config.in
index 08866a370d..4251b134d4 100644
--- a/package/qt6/Config.in
+++ b/package/qt6/Config.in
@@ -64,6 +64,7 @@ source "package/qt6/qt6serialport/Config.in"
source "package/qt6/qt6shadertools/Config.in"
source "package/qt6/qt6speech/Config.in"
source "package/qt6/qt6svg/Config.in"
+source "package/qt6/qt6tools/Config.in"
source "package/qt6/qt6virtualkeyboard/Config.in"
source "package/qt6/qt6wayland/Config.in"
source "package/qt6/qt6websockets/Config.in"
diff --git a/package/qt6/qt6tools/Config.in b/package/qt6/qt6tools/Config.in
new file mode 100644
index 0000000000..d2bd9aea8e
--- /dev/null
+++ b/package/qt6/qt6tools/Config.in
@@ -0,0 +1,20 @@
+config BR2_PACKAGE_QT6TOOLS
+ bool "qt6tools"
+ select BR2_PACKAGE_HOST_QT6TOOLS
+ select BR2_PACKAGE_HOST_QT6TOOLS_LINGUIST_TOOLS # lconvert
+ help
+ This package provides Qt6 Tools:
+
+ https://code.qt.io/cgit/qt/qttools.git
+
+if BR2_PACKAGE_QT6TOOLS
+
+config BR2_PACKAGE_QT6TOOLS_UITOOLS
+ bool "uitools"
+ select BR2_PACKAGE_QT6BASE_GUI
+ select BR2_PACKAGE_QT6BASE_WIDGETS
+ help
+ Process Qt Widgets Designer forms at run-time to
+ produce dynamically generated user interfaces.
+
+endif
diff --git a/package/qt6/qt6tools/qt6tools.mk b/package/qt6/qt6tools/qt6tools.mk
index 6240fe7ee8..01ba1a2961 100644
--- a/package/qt6/qt6tools/qt6tools.mk
+++ b/package/qt6/qt6tools/qt6tools.mk
@@ -7,14 +7,39 @@
QT6TOOLS_VERSION = $(QT6_VERSION)
QT6TOOLS_SITE = $(QT6_SITE)
QT6TOOLS_SOURCE = qttools-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6TOOLS_VERSION).tar.xz
+QT6TOOLS_INSTALL_STAGING = YES
QT6TOOLS_SUPPORTS_IN_SOURCE_BUILD = NO
QT6TOOLS_CMAKE_BACKEND = ninja
-QT6TOOLS_LICENSE = GPL-3.0 with Qt-GPL-exception-1.0 (host linguist tools)
+QT6TOOLS_LICENSE = GPL-3.0 with Qt-GPL-exception-1.0
QT6TOOLS_LICENSE_FILES = \
LICENSES/GPL-3.0-only.txt \
LICENSES/Qt-GPL-exception-1.0.txt
+# https://code.qt.io/cgit/qt/qttools.git/tree/configure.cmake?h=6.9.0
+QT6TOOLS_CONF_OPTS = \
+ -DFEATURE_assistant=OFF \
+ -DFEATURE_attributionsscanner=OFF \
+ -DFEATURE_clang=OFF \
+ -DFEATURE_clang_rtti=OFF \
+ -DFEATURE_clangcpp=OFF \
+ -DFEATURE_designer=OFF \
+ -DFEATURE_distancefieldgenerator=OFF \
+ -DFEATURE_kmap2qmap=OFF \
+ -DFEATURE_pixeltool=OFF \
+ -DFEATURE_qdbus=OFF \
+ -DFEATURE_qdoc=OFF \
+ -DFEATURE_qev=OFF \
+ -DFEATURE_qtattributionsscanner=OFF \
+ -DFEATURE_qtdiag=OFF \
+ -DFEATURE_qtplugininfo=OFF \
+ -DQT_BUILD_EXAMPLES=OFF \
+ -DQT_BUILD_TESTS=OFF
+
+QT6TOOLS_DEPENDENCIES = \
+ host-qt6tools \
+ qt6base
+
# https://code.qt.io/cgit/qt/qttools.git/tree/configure.cmake?h=6.9.0
HOST_QT6TOOLS_CONF_OPTS = \
-DFEATURE_assistant=OFF \
@@ -51,4 +76,5 @@ else
HOST_QT6TOOLS_CONF_OPTS += -DFEATURE_linguist=OFF
endif
+$(eval $(cmake-package))
$(eval $(host-cmake-package))
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 18+ messages in thread