summaryrefslogtreecommitdiffstats
path: root/package/qt5/qt5base/qt5base-0005-fix-gui-build-without-png.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/qt5/qt5base/qt5base-0005-fix-gui-build-without-png.patch')
-rw-r--r--package/qt5/qt5base/qt5base-0005-fix-gui-build-without-png.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/qt5/qt5base/qt5base-0005-fix-gui-build-without-png.patch b/package/qt5/qt5base/qt5base-0005-fix-gui-build-without-png.patch
new file mode 100644
index 0000000000..ea0a7e3d2d
--- /dev/null
+++ b/package/qt5/qt5base/qt5base-0005-fix-gui-build-without-png.patch
@@ -0,0 +1,22 @@
+[PATCH] fix QtGUI build without PNG support
+
+Upstream bug: https://bugreports.qt-project.org/browse/QTBUG-33496
+
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+---
+ src/gui/kernel/qplatformtheme.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: qt5base-5.1.1/src/gui/kernel/qplatformtheme.cpp
+===================================================================
+--- qt5base-5.1.1.orig/src/gui/kernel/qplatformtheme.cpp
++++ qt5base-5.1.1/src/gui/kernel/qplatformtheme.cpp
+@@ -48,7 +48,7 @@
+ #include <QtCore/qfileinfo.h>
+ #include <qpalette.h>
+ #include <qtextformat.h>
+-#include <qiconloader_p.h>
++#include <private/qiconloader_p.h>
+
+ QT_BEGIN_NAMESPACE
+
OpenPOWER on IntegriCloud