Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Christian Hitz via buildroot <buildroot@buildroot.org>
Cc: Christian Hitz <christian@klarinett.li>,
	Christian Hitz <christian.hitz@bbv.ch>,
	Jesse Van Gavere <jesseevg@gmail.com>,
	Samuel Martin <s.martin49@gmail.com>,
	Roy Kollen Svendsen <roykollensvendsen@gmail.com>
Subject: Re: [Buildroot] [PATCH] package/qt6/qt6connectivity: new package
Date: Sat, 14 Sep 2024 13:21:42 +0200	[thread overview]
Message-ID: <20240914132142.22afe629@windsurf> (raw)
In-Reply-To: <20240911131230.2299474-1-christian@klarinett.li>

Hello Christian,

On Wed, 11 Sep 2024 15:12:29 +0200
Christian Hitz via buildroot <buildroot@buildroot.org> wrote:

> From: Christian Hitz <christian.hitz@bbv.ch>
> 
> Signed-off-by: Christian Hitz <christian.hitz@bbv.ch>

Thanks a lot for your patch. However I'm afraid it looks like you have
copy/pasted qt5connectivity... but a number of things are not the same
and not correct due to that. See below.


> diff --git a/package/qt6/qt6connectivity/Config.in b/package/qt6/qt6connectivity/Config.in
> new file mode 100644
> index 0000000000..1ddd4a6ad0
> --- /dev/null
> +++ b/package/qt6/qt6connectivity/Config.in
> @@ -0,0 +1,18 @@
> +config BR2_PACKAGE_QT6CONNECTIVITY
> +	bool "qt6connectivity"
> +	depends on BR2_PACKAGE_NEARD || BR2_PACKAGE_BLUEZ5_UTILS

There is nothing related to neard support in qt6connectivity as far as
I can see.

Also, I believe bluez is not mandatory. I've done a build of
qt6connectivity with neither neard nor bluez5-utils and it did
build/install Qt6Nfc.

> +	select BR2_PACKAGE_QT6BASE_NETWORK
> +	select BR2_PACKAGE_QT6BASE_CONCURRENT
> +	select BR2_PACKAGE_QT6BASE_DBUS

Concurrent is definitely not needed.

DBus doesn't seem to be mandatory either (I tested to build without it,
and it built fine).

In order to package this, you need to do some minimal testing: build
with qt6base, with no other options enabled, and look at what is
*really* needed. Don't blindly copy/paste qt5connectivity, as things
have changed (or perhaps some things are also wrong in
qt5connectivity?).

Could you have a look into this to prepare a v2 that is more solid in
terms of how it handles dependencies?

Thanks a lot!

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

  reply	other threads:[~2024-09-14 11:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-11 13:12 [Buildroot] [PATCH] package/qt6/qt6connectivity: new package Christian Hitz via buildroot
2024-09-14 11:21 ` Thomas Petazzoni via buildroot [this message]
2025-03-06  9:35   ` christian--- via buildroot
2025-03-06 11:54 ` [Buildroot] [PATCH v2] " Christian Hitz via buildroot
2025-03-06 19:35   ` Roy Kollen Svendsen

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=20240914132142.22afe629@windsurf \
    --to=buildroot@buildroot.org \
    --cc=christian.hitz@bbv.ch \
    --cc=christian@klarinett.li \
    --cc=jesseevg@gmail.com \
    --cc=roykollensvendsen@gmail.com \
    --cc=s.martin49@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox