package/qt5webengine: examples need qt5svg
authorPeter Seiderer <ps.report@gmx.net>
Tue, 11 Aug 2020 21:23:03 +0000 (23:23 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 13 Aug 2020 21:09:34 +0000 (23:09 +0200)
Fixes:

  https://gitlab.com/buildroot.org/buildroot/-/jobs/674934350

  make[3]: Entering directory '.../build/qt5webengine-5.15.0/examples/webenginewidgets'
  Project ERROR: Unknown module(s) in QT: svg
  Makefile:47: recipe for target 'sub-pdfviewer-make_first' failed

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Acked-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/qt5/qt5webengine/Config.in
package/qt5/qt5webengine/qt5webengine.mk

index 215afbb616c099d6a4e9703d70611e0c77d8cc11..9879345e1e50c82563c51558ce86cc023d48fb85 100644 (file)
@@ -54,6 +54,7 @@ config BR2_PACKAGE_QT5WEBENGINE
        select BR2_PACKAGE_QT5DECLARATIVE_QUICK
        select BR2_PACKAGE_QT5QUICKCONTROLS
        select BR2_PACKAGE_QT5QUICKCONTROLS2
+       select BR2_PACKAGE_QT5SVG if BR2_PACKAGE_QT5BASE_EXAMPLES
        select BR2_PACKAGE_QT5WEBCHANNEL
        select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_QT5BASE_XCB
        select BR2_PACKAGE_XLIB_LIBXCURSOR if BR2_PACKAGE_QT5BASE_XCB
index 4abcf4596405aa0db634eecbb2115da434d06106..9101f35937d080c16c5e9eaf8d1738aec85785e4 100644 (file)
@@ -18,6 +18,10 @@ QT5WEBENGINE_LICENSE = GPL-2.0 or LGPL-3.0 or GPL-3.0 or GPL-3.0 with exception
 QT5WEBENGINE_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT \
        LICENSE.GPLv3 LICENSE.LGPL3 $(QT5WEBENGINE_CHROMIUM_LICENSE_FILES)
 
+ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
+QT5WEBENGINE_DEPENDENCIES += qt5svg
+endif
+
 ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y)
 QT5WEBENGINE_DEPENDENCIES += xlib_libXScrnSaver xlib_libXcomposite \
        xlib_libXcursor xlib_libXi xlib_libXrandr xlib_libXtst