From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
To: buildroot@buildroot.org
Cc: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>,
Christian Hitz <christian@klarinett.li>,
Bernd Kuhls <bernd@kuhls.net>,
Roy Kollen Svendsen <roykollensvendsen@gmail.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Baxiche Su <baxiche@gmail.com>
Subject: [Buildroot] [PATCH 1/4] package/qt6/qt6positioning: select network for QML
Date: Sun, 22 Nov 2026 21:21:51 +0100 [thread overview]
Message-ID: <20261122202154.3606582-2-angelo.compagnucci@gmail.com> (raw)
In-Reply-To: <20261122202154.3606582-1-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>
---
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.53.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-11-22 20:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 20:21 [Buildroot] [PATCH 0/4] package/qt6: security bump to 6.12.0, with a runtime test Angelo Compagnucci
2026-11-22 20:21 ` Angelo Compagnucci [this message]
2026-11-22 20:21 ` [Buildroot] [PATCH 2/4] package/qt6/qt6declarative: add an option for the qml tool Angelo Compagnucci
2026-11-22 20:21 ` [Buildroot] [PATCH 3/4] support/testing: add qt6 runtime test Angelo Compagnucci
2026-11-22 20:21 ` [Buildroot] [PATCH 4/4] package/qt6: security bump version to 6.12.0 Angelo Compagnucci
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261122202154.3606582-2-angelo.compagnucci@gmail.com \
--to=angelo.compagnucci@gmail.com \
--cc=baxiche@gmail.com \
--cc=bernd@kuhls.net \
--cc=buildroot@buildroot.org \
--cc=christian@klarinett.li \
--cc=mr.zoltan.gyarmati@gmail.com \
--cc=roykollensvendsen@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.