qwt: fix qt5 opengl support
authorPeter Seiderer <ps.report@gmx.net>
Fri, 18 Nov 2016 22:00:12 +0000 (23:00 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 19 Nov 2016 09:50:19 +0000 (10:50 +0100)
Qt5base BR2_PACKAGE_QT5BASE_OPENGL_LIB depends on BR2_PACKAGE_QT5BASE_OPENGL (see
package/qt5/qt5base/Config.in), so select it.

Fixes [1]:

  cp: cannot stat '.../output/host/usr/sh4-buildroot-linux-uclibc/sysroot/usr/lib/libQt5OpenGL.so.*': No such file or directory

[1] http://autobuild.buildroot.net/results/262/2623d48194b778c92134f9bceea923749b26ac6b

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/qwt/Config.in

index dabbda27754e095e5fbfdb03c4fb29ddadbb8e78..a678637b6c8569f536cd2553a53f72e1f4964a41 100644 (file)
@@ -30,6 +30,7 @@ config BR2_PACKAGE_QWT_OPENGL
        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 if BR2_PACKAGE_QT
+       select BR2_PACKAGE_QT5BASE_OPENGL if BR2_PACKAGE_QT5
        select BR2_PACKAGE_QT5BASE_OPENGL_LIB if BR2_PACKAGE_QT5
 
 endif