From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v1] package/qwt: needs qt5base gui support
Date: Fri, 15 Feb 2019 22:40:22 +0100 [thread overview]
Message-ID: <20190215224022.7a1ccf4c@windsurf.home> (raw)
In-Reply-To: <20190215215859.3ef24917@gmx.net>
Hello,
On Fri, 15 Feb 2019 21:58:59 +0100
Peter Seiderer <ps.report@gmx.net> wrote:
> Because until now qwt is the only package selecting widgets without gui
> (most packages directly, pulseview via qt5svg and qt5cinex via qt5base
> eglfs)...and from qt5base/Config.in:
>
> if BR2_PACKAGE_QT5BASE_GUI
>
> config BR2_PACKAGE_QT5BASE_WIDGETS
> bool "widgets module"
> [...]
> endif
Ah, so there is already a "depends on" between widgets and gui in
qt5base, which is good.
So it's indeed qwt that is bogus: it should not select QT5BASE_WIDGETS
without selecting QT5BASE_GUI (or depending on it). So your patch is
good, I'll apply.
> > Indeed, to me, it seems like any other package that uses qt5 widgets
> > without selecting qt5 gui would fall into the same build failure.
> >
> > Also, any idea why this is popping up only now ?
>
> No, did not search the autobuild database, but maybe since 'package/qwt: remove qt4 support'?
It's indeed a bug from that patch! Look carefully at the diff of
3e99c8418af904b14b01455d68c84d7b5afd261f:
config BR2_PACKAGE_QWT
bool "qwt"
- depends on BR2_PACKAGE_QT || BR2_PACKAGE_QT5
- select BR2_PACKAGE_QT_GUI_MODULE if BR2_PACKAGE_QT
- select BR2_PACKAGE_QT5BASE_GUI if BR2_PACKAGE_QT5
- select BR2_PACKAGE_QT5BASE_WIDGETS if BR2_PACKAGE_QT5 # printsupport
- select BR2_PACKAGE_QT5BASE_CONCURRENT if BR2_PACKAGE_QT5
+ depends on BR2_PACKAGE_QT5
+ select BR2_PACKAGE_QT5BASE
+ select BR2_PACKAGE_QT5BASE_WIDGETS # printsupport
+ select BR2_PACKAGE_QT5BASE_CONCURRENT
See how the line:
- select BR2_PACKAGE_QT5BASE_GUI if BR2_PACKAGE_QT5
gets removed ?
So I'll apply your patch after adjusting the commit log. Thanks!
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-02-15 21:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-15 20:25 [Buildroot] [PATCH v1] package/qwt: needs qt5base gui support Peter Seiderer
2019-02-15 20:43 ` Thomas Petazzoni
2019-02-15 20:58 ` Peter Seiderer
2019-02-15 21:40 ` Thomas Petazzoni [this message]
2019-02-22 11:44 ` Peter Korsgaard
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=20190215224022.7a1ccf4c@windsurf.home \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/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