[oe-commits] Paul Eggleton : qt4: build qmake for the target

git at git.openembedded.org git at git.openembedded.org
Tue Feb 28 12:24:17 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 4306606489a2d922595d4c86a21c496bbd8a607e
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=4306606489a2d922595d4c86a21c496bbd8a607e

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Wed Feb  8 17:00:25 2012 +0000

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 at linux.intel.com>

---

 meta/recipes-qt/qt4/files/target_qmake.patch       |   27 ++++++++++
 meta/recipes-qt/qt4/qt-4.7.4.inc                   |   11 +----
 meta/recipes-qt/qt4/qt-4.8.0.inc                   |   12 +----
 meta/recipes-qt/qt4/qt-4.8.0/qmake_pri_fixes.patch |   51 ++++++++++++++++++++
 meta/recipes-qt/qt4/qt4-embedded_4.7.4.bb          |    2 +-
 meta/recipes-qt/qt4/qt4-x11-free_4.7.4.bb          |    2 +-
 meta/recipes-qt/qt4/qt4.inc                        |   47 ++++++++++++++++--
 7 files changed, 126 insertions(+), 26 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=4306606489a2d922595d4c86a21c496bbd8a607e




More information about the Openembedded-commits mailing list