All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Perale via buildroot <buildroot@buildroot.org>
To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Thomas Perale <thomas.perale@mind.be>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 2/2] package/qt6/qt6declarative: fix select of host-qt6base network
Date: Fri,  4 Sep 2026 14:18:56 +0200	[thread overview]
Message-ID: <20260904121856.406260-1-thomas.perale@mind.be> (raw)
In-Reply-To: <20260826142830.4040428-2-thomas.petazzoni@bootlin.com>

In reply of:
> The BR2_PACKAGE_QT6DECLARATIVE_QUICK option has some logic to select
> network support in host-qt6base if network support is enabled in
> qt6base. However, it turns out that this is actually required at the
> top level BR2_PACKAGE_QT6DECLARATIVE option: as soon as network
> support is available in qt6base, the qt6declarative build will assume
> that qmlprofiler is available... but that requires network support in
> host-qt6base.
> 
> This fixes the following build failure:
> 
> CMake Error at /home/thomas/autobuild/instance-2/output-1/build/qt6base-6.9.1/cmake/QtToolHelpers.cmake:784 (message):
>   Failed to find the host tool "Qt6::qmlprofiler".  It is part of the
>   Qt6QmlTools package, but the package did not contain the tool.  Make sure
>   that the host module Qml was built with all features enabled (no explicitly
>   disabled tools).
> Call Stack (most recent call first):
>   /home/thomas/autobuild/instance-2/output-1/build/qt6base-6.9.1/cmake/QtToolHelpers.cmake:83 (qt_internal_find_tool)
>   tools/qmlprofiler/CMakeLists.txt:11 (qt_internal_add_tool)
> 
> Fixes:
> 
>   https://autobuild.buildroot.net/results/72c956fdf982382d2981c649c456d1edc2c9d6b2/
> 
> We did not trace back exactly since when the problem exists, but we
> verified that the problem exists in 2025.02.x. It can be reproduced
> with the following defconfig:
> 
> BR2_aarch64=y
> BR2_TOOLCHAIN_EXTERNAL=y
> BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
> BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y
> BR2_PACKAGE_QT6=y
> BR2_PACKAGE_QT6BASE_NETWORK=y
> BR2_PACKAGE_QT6DECLARATIVE=y
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Applied to 2025.02.x & 2026.05.x. Thanks

> ---
>  package/qt6/qt6declarative/Config.in | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/package/qt6/qt6declarative/Config.in b/package/qt6/qt6declarative/Config.in
> index a57b203071..e24133c3e5 100644
> --- a/package/qt6/qt6declarative/Config.in
> +++ b/package/qt6/qt6declarative/Config.in
> @@ -1,5 +1,9 @@
>  config BR2_PACKAGE_QT6DECLARATIVE
>  	bool "qt6declarative"
> +	# When target qt6base has network support, qt6declarative
> +	# assumes that qmlprofiler is available, but that requires
> +	# network support in host-qt6base.
> +	select BR2_PACKAGE_HOST_QT6BASE_NETWORK if BR2_PACKAGE_QT6BASE_NETWORK # qmlprofiler
>  	help
>  	  Qt is a cross-platform application and UI framework for
>  	  developers using C++.
> @@ -14,7 +18,6 @@ config BR2_PACKAGE_QT6DECLARATIVE_QUICK
>  	bool "quick module"
>  	# Enable host test module to ensure that qmltestrunner is built
>  	select BR2_PACKAGE_HOST_QT6BASE_TEST if BR2_PACKAGE_QT6BASE_TEST # qmltestrunner
> -	select BR2_PACKAGE_HOST_QT6BASE_NETWORK if BR2_PACKAGE_QT6BASE_NETWORK # qmlprofiler
>  	select BR2_PACKAGE_QT6BASE_GUI
>  	select BR2_PACKAGE_QT6BASE_OPENGL if BR2_PACKAGE_QT6_GL_SUPPORTS
>  	select BR2_PACKAGE_QT6SHADERTOOLS
> -- 
> 2.55.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2026-09-04 12:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-26 14:28 [Buildroot] [PATCH 1/2] package/qt6/qt6declarative: move comment where it belongs Thomas Petazzoni via buildroot
2026-08-26 14:28 ` [Buildroot] [PATCH 2/2] package/qt6/qt6declarative: fix select of host-qt6base network Thomas Petazzoni via buildroot
2026-09-04 12:18   ` Thomas Perale via buildroot [this message]
2026-08-26 14:35 ` [Buildroot] [PATCH 1/2] package/qt6/qt6declarative: move comment where it belongs Edgar Bonet via buildroot
2026-08-27 19:27 ` Julien Olivain via buildroot
2026-09-04 12:18 ` Thomas Perale via buildroot

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=20260904121856.406260-1-thomas.perale@mind.be \
    --to=buildroot@buildroot.org \
    --cc=thomas.perale@mind.be \
    --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.