qt5base: fix QtGUI build without PNG support
authorPeter Korsgaard <peter@korsgaard.com>
Sat, 26 Oct 2013 15:58:40 +0000 (17:58 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 26 Oct 2013 15:58:40 +0000 (17:58 +0200)
Patch from upstream bug report:
https://bugreports.qt-project.org/browse/QTBUG-33496

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/qt5/qt5base/qt5base-0005-fix-gui-build-without-png.patch [new file with mode: 0644]

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 (file)
index 0000000..ea0a7e3
--- /dev/null
@@ -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