kumquat-buildroot/package/qt5/qt5declarative/5.6.3/0001-examples-photoviewer-needs-widgets-support.patch
Peter Seiderer 06a4975d4b qt5: bump LTS version to 5.6.3
qt5base:
  - move hash file to 5.6.3
  - move 0001-eglfs-rasp-pi-header-inclusion.patch to 5.6.3
  - remove 0002-eglfs-fix-eglfs_mali-compile-for-odroid-mali.patch (upstream committed [1])

qt5declarative:
  - move patches to 5.6.3

qt5quickcontrols2:
  - move hash file to 5.6.3

qt5webkit:
  - move patches to 5.6.3

[1] http://code.qt.io/cgit/qt/qtbase.git/commit/?h=5.6&id=f1b4bd4790860e1ff5afcec111a359bc3a91cfda

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-10-21 09:55:51 +02:00

33 lines
945 B
Diff

From b616a7e2a7e03e2eb189dca3dc428c0e19e1652b Mon Sep 17 00:00:00 2001
From: Peter Seiderer <ps.report@gmx.net>
Date: Thu, 6 Apr 2017 21:53:40 +0200
Subject: [PATCH] examples: photoviewer needs widgets support
Fixes:
.../qt5declarative-5.8.0/examples/quick/demos/photoviewer/photoviewer.pro
Project ERROR: Unknown module(s) in QT: widgets
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
examples/quick/demos/demos.pro | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/examples/quick/demos/demos.pro b/examples/quick/demos/demos.pro
index 0644b81a2..5a6fd52ba 100644
--- a/examples/quick/demos/demos.pro
+++ b/examples/quick/demos/demos.pro
@@ -7,5 +7,7 @@ SUBDIRS = samegame \
photosurface \
stocqt
-qtHaveModule(xmlpatterns): SUBDIRS += rssnews photoviewer
-
+qtHaveModule(xmlpatterns) {
+ SUBDIRS += rssnews
+ qtHaveModule(widgets): SUBDIRS += photoviewer
+}
--
2.11.0