kumquat-buildroot/package/qt/qt-4.5.3-fix-qt-zlib-build.patch
Francisco Gonzalez Morell f4f157041e 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>
2010-02-24 00:40:20 +01:00

21 lines
741 B
Diff

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
+}