summaryrefslogtreecommitdiffstats
path: root/package/qt/qt-4.5.3-fix-qt-zlib-build.patch
diff options
context:
space:
mode:
authorFrancisco Gonzalez Morell <gzmorell@gmail.com>2010-02-24 00:01:39 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-02-24 00:40:20 +0100
commitf4f157041eb53f674d21d9a323f7245bc14fd844 (patch)
treefcc24f1cdcd6424989e61c59709658bf792f8ed1 /package/qt/qt-4.5.3-fix-qt-zlib-build.patch
parent7bd8125edc2c48aebc94f7e3a64712b4e50d7dab (diff)
downloadbuildroot-novena-f4f157041eb53f674d21d9a323f7245bc14fd844.tar.gz
buildroot-novena-f4f157041eb53f674d21d9a323f7245bc14fd844.zip
qt: fix the patch name for qt-4.5.3 version
Signed-off-by: Francisco Gonzalez Morell <gzmorell@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/qt/qt-4.5.3-fix-qt-zlib-build.patch')
-rw-r--r--package/qt/qt-4.5.3-fix-qt-zlib-build.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/qt/qt-4.5.3-fix-qt-zlib-build.patch b/package/qt/qt-4.5.3-fix-qt-zlib-build.patch
new file mode 100644
index 000000000..47fc92f27
--- /dev/null
+++ b/package/qt/qt-4.5.3-fix-qt-zlib-build.patch
@@ -0,0 +1,20 @@
+When QT is compiled in qt-zlib mode, compilation of
+src/gui/painting/qprintengine_pdf.cpp fails because zlib.h is not
+found. The following patch adds the internal QT zlib directory to the
+include path to fix this issue.
+
+---
+ src/gui/painting/painting.pri | 3 +++
+ 1 file changed, 3 insertions(+)
+
+Index: qt-embedded-linux-opensource-src-4.5.3/src/gui/painting/painting.pri
+===================================================================
+--- qt-embedded-linux-opensource-src-4.5.3.orig/src/gui/painting/painting.pri
++++ qt-embedded-linux-opensource-src-4.5.3/src/gui/painting/painting.pri
+@@ -367,3 +367,6 @@
+ SOURCES += painting/qwindowsurface_d3d.cpp
+ }
+
++contains(QT_CONFIG, zlib) {
++ INCLUDEPATH += ../3rdparty/zlib
++}