mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-05 17:37:43 +00:00
New build fix for Qtopia4
The new patch fixes the build failure when BR2_PACKAGE_QTOPIA4_QTZLIB=y.
This commit is contained in:
parent
1bbceff78a
commit
a1125b31af
20
package/qtopia4/qtopia-4.5.2-fix-qt-zlib-build.patch
Normal file
20
package/qtopia4/qtopia-4.5.2-fix-qt-zlib-build.patch
Normal file
@ -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.2/src/gui/painting/painting.pri
|
||||||
|
===================================================================
|
||||||
|
--- qt-embedded-linux-opensource-src-4.5.2.orig/src/gui/painting/painting.pri
|
||||||
|
+++ qt-embedded-linux-opensource-src-4.5.2/src/gui/painting/painting.pri
|
||||||
|
@@ -367,3 +367,6 @@
|
||||||
|
SOURCES += painting/qwindowsurface_d3d.cpp
|
||||||
|
}
|
||||||
|
|
||||||
|
+contains(QT_CONFIG, zlib) {
|
||||||
|
+ INCLUDEPATH += ../3rdparty/zlib
|
||||||
|
+}
|
Loading…
x
Reference in New Issue
Block a user