diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-qt/qt4/files/qt-mobility-no-opengl.patch | 36 | ||||
-rw-r--r-- | meta/recipes-qt/qt4/qt-mobility_1.2.0.inc | 5 |
2 files changed, 39 insertions, 2 deletions
diff --git a/meta/recipes-qt/qt4/files/qt-mobility-no-opengl.patch b/meta/recipes-qt/qt4/files/qt-mobility-no-opengl.patch new file mode 100644 index 0000000000..aa15683a4e --- /dev/null +++ b/meta/recipes-qt/qt4/files/qt-mobility-no-opengl.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | diff --git a/examples/declarative-camera/declarative-camera.pro b/examples/declarative-camera/declarative-camera.pro | ||
2 | index 8164fbc..54fd8ad 100644 | ||
3 | --- a/examples/declarative-camera/declarative-camera.pro | ||
4 | +++ b/examples/declarative-camera/declarative-camera.pro | ||
5 | @@ -5,10 +5,10 @@ TEMPLATE=app | ||
6 | |||
7 | QT += declarative network | ||
8 | |||
9 | -!maemo5 { | ||
10 | - contains(QT_CONFIG, opengl) { | ||
11 | - QT += opengl | ||
12 | - } | ||
13 | +contains(QT_CONFIG, opengl): !maemo5 { | ||
14 | + QT += opengl | ||
15 | +} else { | ||
16 | + DEFINES += QT_NO_OPENGL | ||
17 | } | ||
18 | |||
19 | win32 { | ||
20 | diff --git a/examples/videographicsitem/videographicsitem.pro b/examples/videographicsitem/videographicsitem.pro | ||
21 | index 8461beb..eedee2f 100644 | ||
22 | --- a/examples/videographicsitem/videographicsitem.pro | ||
23 | +++ b/examples/videographicsitem/videographicsitem.pro | ||
24 | @@ -9,7 +9,11 @@ MOBILITY = multimedia | ||
25 | |||
26 | QMAKE_RPATHDIR += $$DESTDIR | ||
27 | |||
28 | -!symbian:contains(QT_CONFIG, opengl): QT += opengl | ||
29 | +contains(QT_CONFIG, opengl): !symbian { | ||
30 | + QT += opengl | ||
31 | +} else { | ||
32 | + DEFINES += QT_NO_OPENGL | ||
33 | +} | ||
34 | |||
35 | HEADERS += videoplayer.h \ | ||
36 | videoitem.h | ||
diff --git a/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc b/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc index 1c4611db05..3e50b2db2c 100644 --- a/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc +++ b/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc | |||
@@ -8,12 +8,13 @@ LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \ | |||
8 | SRC_URI = "http://get.qt.nokia.com/qt/add-ons/qt-mobility-opensource-src-${PV}.tar.gz \ | 8 | SRC_URI = "http://get.qt.nokia.com/qt/add-ons/qt-mobility-opensource-src-${PV}.tar.gz \ |
9 | file://qt-mobility-configure.patch \ | 9 | file://qt-mobility-configure.patch \ |
10 | file://0001-gstvideoconnector-fixed-buffers-allocation.patch \ | 10 | file://0001-gstvideoconnector-fixed-buffers-allocation.patch \ |
11 | file://0002-Remove-unnecessary-rpaths-from-qml_device-example.patch" | 11 | file://0002-Remove-unnecessary-rpaths-from-qml_device-example.patch \ |
12 | file://qt-mobility-no-opengl.patch" | ||
12 | 13 | ||
13 | SRC_URI[md5sum]="ea5db5a8d3dd4709c2926dceda646bd8" | 14 | SRC_URI[md5sum]="ea5db5a8d3dd4709c2926dceda646bd8" |
14 | SRC_URI[sha256sum]="ee3c88975e04139ac9589f76d4be646d44fcbc4c8c1cf2db621abc154cf0ba44" | 15 | SRC_URI[sha256sum]="ee3c88975e04139ac9589f76d4be646d44fcbc4c8c1cf2db621abc154cf0ba44" |
15 | 16 | ||
16 | PR = "r3" | 17 | PR = "r4" |
17 | 18 | ||
18 | S = "${WORKDIR}/qt-mobility-opensource-src-${PV}" | 19 | S = "${WORKDIR}/qt-mobility-opensource-src-${PV}" |
19 | 20 | ||