]> code.ossystems Code Review - openembedded-core.git/commit
qt4: build qmake for the target
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 8 Feb 2012 17:00:25 +0000 (17:00 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Feb 2012 12:14:49 +0000 (12:14 +0000)
commit4306606489a2d922595d4c86a21c496bbd8a607e
treeac51f2fb9e058cfd67af16eff29484dde8e73d72
parentf29bb5b2a99ecef46e5570bf3336e9680c0b6705
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.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/recipes-qt/qt4/files/target_qmake.patch [new file with mode: 0644]
meta/recipes-qt/qt4/qt-4.7.4.inc
meta/recipes-qt/qt4/qt-4.8.0.inc
meta/recipes-qt/qt4/qt-4.8.0/qmake_pri_fixes.patch [new file with mode: 0644]
meta/recipes-qt/qt4/qt4-embedded_4.7.4.bb
meta/recipes-qt/qt4/qt4-x11-free_4.7.4.bb
meta/recipes-qt/qt4/qt4.inc