package/qwt: needs qt5base gui support
authorPeter Seiderer <ps.report@gmx.net>
Fri, 15 Feb 2019 20:25:04 +0000 (21:25 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 15 Feb 2019 21:41:01 +0000 (22:41 +0100)
In commit 3e99c8418af904b14b01455d68c84d7b5afd261f ("package/qwt:
remove qt4 support"), the following line was incorrectly dropped:

  select BR2_PACKAGE_QT5BASE_GUI if BR2_PACKAGE_QT5

Due to this, qt5base can now be configured with widgets enabled but
gui disabled, causing the following build issue:

  ERROR: Feature 'widgets' was enabled, but the pre-condition 'features.gui' failed.

Re-introduce the proper select, but slightly simplified since only Qt5
is supported now.

Fixes:

  http://autobuild.buildroot.net/results/c771c2d5aac3e21f908e5a118f3755dbc9301a47

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Thomas: rework commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/qwt/Config.in

index f4132c8638f27aab0371a16105ea74f1d0f54fb5..2e9cec19d7a70d43cfae0673194e8e00cfc2ff04 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_QWT
        bool "qwt"
        depends on BR2_PACKAGE_QT5
        select BR2_PACKAGE_QT5BASE
+       select BR2_PACKAGE_QT5BASE_GUI
        select BR2_PACKAGE_QT5BASE_WIDGETS # printsupport
        select BR2_PACKAGE_QT5BASE_CONCURRENT
        help