[Buildroot] [PATCH v1] package/qwt: needs qt5base gui support

Peter Seiderer ps.report at gmx.net
Fri Feb 15 20:58:59 UTC 2019


Hello Thomas,

On Fri, 15 Feb 2019 21:43:43 +0100, Thomas Petazzoni <thomas.petazzoni at bootlin.com> wrote:

> Hello Peter,
> 
> On Fri, 15 Feb 2019 21:25:04 +0100
> Peter Seiderer <ps.report at gmx.net> wrote:
> 
> > Fixes the following qt5base configure error ([1]):
> > 
> >   ERROR: Feature 'widgets' was enabled, but the pre-condition 'features.gui' failed.
> > 
> > [1] http://autobuild.buildroot.net/results/c771c2d5aac3e21f908e5a118f3755dbc9301a47
> > 
> > Signed-off-by: Peter Seiderer <ps.report at gmx.net>
> > ---
> >  package/qwt/Config.in | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/package/qwt/Config.in b/package/qwt/Config.in
> > index f4132c8638..2e9cec19d7 100644
> > --- a/package/qwt/Config.in
> > +++ b/package/qwt/Config.in
> > @@ -2,6 +2,7 @@ config BR2_PACKAGE_QWT
> >  	bool "qwt"
> >  	depends on BR2_PACKAGE_QT5
> >  	select BR2_PACKAGE_QT5BASE
> > +	select BR2_PACKAGE_QT5BASE_GUI  
> 
> Hm, the build error happens in qt5base, and to me reads as "if you have
> widgets support enabled in qt5base, you must have gui support enabled
> in qt5base". If that is what is happening, then what you want to do is
> have BR2_PACKAGE_QT5BASE_WIDGETS sleect BR2_PACKAGE_QT5BASE_GUI, and
> not touch qwt.

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

> 
> 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'?

Regards,
Peter

> 
> Thomas



More information about the buildroot mailing list