summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/qt-4.7.4.inc
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-02-08 17:00:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-28 12:27:25 +0000
commit6be627fd5f2d1c0ef29d052164f23bc94f914b31 (patch)
tree7215368734f32fff9f0f79fe90e332e2e394a000 /meta/recipes-qt/qt4/qt-4.7.4.inc
parent76c17122024e49fdc84e237b9d5dde6525778d6b (diff)
downloadpoky-6be627fd5f2d1c0ef29d052164f23bc94f914b31.tar.gz
qt4: build qmake for the target
qmake was not being built at all (since we had the host version from qt4-native) and the default is to build for the host machine within configure. With a minor hack we can build qmake for the target as well, which is useful if you want to build Qt 4 software on an actual device. This is now installed as part of the tools package (together with uic, moc etc.) Additionally, add an environment setup script (installed in /usr/share/qt4/environment-setup or /usr/share/qtopia/environment-setup for the embedded version) as part of the mkspecs package since the mkspecs will not work without the paths set up by this script. The code to create this script was adapted from the qmake2 recipe in meta-oe. Also move do_compile() from qt-${PV}.inc up to qt4.inc as both versions have the exact same content. (From OE-Core rev: 4306606489a2d922595d4c86a21c496bbd8a607e) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4/qt-4.7.4.inc')
-rw-r--r--meta/recipes-qt/qt4/qt-4.7.4.inc11
1 files changed, 1 insertions, 10 deletions
diff --git a/meta/recipes-qt/qt4/qt-4.7.4.inc b/meta/recipes-qt/qt4/qt-4.7.4.inc
index 9ddb055777..216472c3c3 100644
--- a/meta/recipes-qt/qt4/qt-4.7.4.inc
+++ b/meta/recipes-qt/qt4/qt-4.7.4.inc
@@ -15,6 +15,7 @@ SRC_URI = "http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${PV}.
15 file://blacklist-diginotar-certs.diff \ 15 file://blacklist-diginotar-certs.diff \
16 file://fix-translations.patch \ 16 file://fix-translations.patch \
17 file://add_nostrip_for_debug_packages.diff \ 17 file://add_nostrip_for_debug_packages.diff \
18 file://target_qmake.patch \
18 file://g++.conf \ 19 file://g++.conf \
19 file://linux.conf \ 20 file://linux.conf \
20 file://fix-qtbug-20925.patch \ 21 file://fix-qtbug-20925.patch \
@@ -43,13 +44,3 @@ do_configure_prepend() {
43 ${S}/configure 44 ${S}/configure
44} 45}
45 46
46do_compile() {
47 # Fixup missing wsegl header in some SGX SDKs
48 if ! [ -e ${STAGING_INCDIR}/wsegl.h ] ; then
49 cp src/3rdparty/powervr/wsegl.h src/plugins/gfxdrivers/powervr/QWSWSEGL/
50 fi
51
52 unset CFLAGS CXXFLAGS
53
54 oe_runmake ${EXTRA_ENV}
55}