]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
qt5charts: fix qt5base widgets/gui selection
authorPeter Seiderer <ps.report@gmx.net>
Sun, 10 Dec 2017 22:01:31 +0000 (23:01 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 12 Dec 2017 06:12:38 +0000 (07:12 +0100)
Selection of BR2_PACKAGE_QT5BASE_WIDGETS needs BR2_PACKAGE_QT5BASE_GUI too.

Fixes qt5base configure failure ([1]):

  ERROR: Feature 'widgets' was enabled, but the pre-condition 'features.gui' failed.
[1] http://autobuild.buildroot.net/results/69c4385b2fd484d16f749b4cde6967f5cabea8b2

and buildroot warning:

  warning: (... && BR2_PACKAGE_QT5CHARTS && ...) selects BR2_PACKAGE_QT5BASE_WIDGETS
  which has unmet direct dependencies (BR2_PACKAGE_QT5 && BR2_PACKAGE_QT5BASE && BR2_PACKAGE_QT5BASE_GUI)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Acked-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/qt5/qt5charts/Config.in

index 993f4db4ce2bf50ccb2c70c0cc2b774a7b9855b3..0967f6a2df202195bd28e4afe22cc99ec12adb37 100644 (file)
@@ -4,6 +4,7 @@ comment "qt5charts needs at least qt-5.7"
 config BR2_PACKAGE_QT5CHARTS
        bool "qt5charts"
        select BR2_PACKAGE_QT5BASE
+       select BR2_PACKAGE_QT5BASE_GUI
        select BR2_PACKAGE_QT5BASE_WIDGETS
        depends on BR2_PACKAGE_QT5_VERSION_LATEST
        help