[Buildroot] Qt5 build failure (beaglebone_qt5_defconfig)

Peter Seiderer ps.report at gmx.net
Thu Apr 6 11:47:11 UTC 2017


Hello Arnout,

> Gesendet: Donnerstag, 06. April 2017 um 12:57 Uhr
> Von: "Arnout Vandecappelle" <arnout at mind.be>
> An: "Buildroot Mailing List" <buildroot at buildroot.org>, "Peter Seiderer" <ps.report at gmx.net>, "Gaël PORTAY" <gael.portay at savoirfairelinux.com>, "Julien Corjon" <corjon.j at ecagroup.com>
> Betreff: Qt5 build failure (beaglebone_qt5_defconfig)
>
>  Hi Qt5 specialists,
> 
>  For quite some time now (basically since the 5.8.0 bump I think),
> beaglebone_qt5_defconfig has been failing [1]. The error is:
> 
> cd photoviewer/ && ( test -e Makefile ||
> /builds/buildroot.org/buildroot/output/host/usr/bin/qmake -o Makefile
> /builds/buildroot.org/buildroot/output/build/qt5declarative-5.8.0/examples/quick/demos/photoviewer/photoviewer.pro
> ) && /usr/bin/make -f Makefile
> Project ERROR: Unknown module(s) in QT: widgets
> 
>  Probably some missing Config.in dependency, or else a missing exclusion of
> demos that require widgets.
> 
>  Can someone take a look?
> 

Untested but maybe the following works:

diff --git a/package/qt5/qt5declarative/Config.in b/package/qt5/qt5declarative/Config.in
index 853322c..5e0fbe2 100644
--- a/package/qt5/qt5declarative/Config.in
+++ b/package/qt5/qt5declarative/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_QT5DECLARATIVE
        select BR2_PACKAGE_QT5XMLPATTERNS
        select BR2_PACKAGE_QT5BASE
        select BR2_PACKAGE_QT5BASE_GUI
+       select BR2_PACKAGE_QT5BASE_WIDGETS if BR2_PACKAGE_QT5BASE_EXAMPLES
        depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
        help
          Qt is a cross-platform application and UI framework for

Regards,
Peter

>  Regards,
>  Arnout
> 
> 
> 
> [1] https://gitlab.com/buildroot.org/buildroot/builds/13476094
> -- 
> Arnout Vandecappelle                          arnout at mind be
> Senior Embedded Software Architect            +32-16-286500
> Essensium/Mind                                http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
>



More information about the buildroot mailing list