package/qwt: Fix selecting OpenGL support in qt4

A Kconfig option being part of a choice can not be selected directly,
so we use the new option BR2_PACKAGE_QT_OPENGL.

Fixes
http://autobuild.buildroot.net/results/2a8/2a8edb18ab7f8a9e324966282858014e9b5bbea0/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Bernd Kuhls 2016-06-13 20:23:14 +02:00 committed by Peter Korsgaard
parent 4303e3e113
commit b1d5aa1bc2

View File

@ -29,7 +29,7 @@ config BR2_PACKAGE_QWT_OPENGL
bool "OpenGL support"
depends on (BR2_PACKAGE_HAS_LIBGLES && BR2_PACKAGE_HAS_LIBEGL && BR2_PACKAGE_QT) || \
(BR2_PACKAGE_QT5_GL_AVAILABLE && BR2_PACKAGE_QT5)
select BR2_PACKAGE_QT_OPENGL_ES if BR2_PACKAGE_QT
select BR2_PACKAGE_QT_OPENGL if BR2_PACKAGE_QT
select BR2_PACKAGE_QT5BASE_OPENGL_LIB if BR2_PACKAGE_QT5
endif