diff options
author | Eric Bénard <eric@eukrea.com> | 2011-05-14 00:25:35 +0200 |
---|---|---|
committer | Eric Bénard <eric@eukrea.com> | 2011-05-14 14:45:29 +0200 |
commit | 191b801245c7911261389a8b43eebab0d172ce05 (patch) | |
tree | 21e5cc2fffd931ff19c4031d51f4ec509afb57b4 /recipes/qt4 | |
parent | c5bd85dcb682fd8de27ff151140be067118dda84 (diff) | |
download | openembedded-191b801245c7911261389a8b43eebab0d172ce05.tar.gz |
qt4-native: unbreak qt4 compilation by providing the necessary native tools
was broken by commit 5a6efd58cdc85d08ab9e106c84bbac5110b5aecd
Signed-off-by: Eric Bénard <eric@eukrea.com>
Diffstat (limited to 'recipes/qt4')
-rw-r--r-- | recipes/qt4/qt4-native.inc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/qt4/qt4-native.inc b/recipes/qt4/qt4-native.inc index d99d9def80..2156023793 100644 --- a/recipes/qt4/qt4-native.inc +++ b/recipes/qt4/qt4-native.inc @@ -51,7 +51,10 @@ TOBUILD = "\ src/gui \ src/testlib \ src/qt3support \ + src/tools/uic3 \ tools/linguist/lrelease \ + tools/linguist/lupdate \ + tools/qdbus \ " do_compile() { @@ -63,6 +66,18 @@ do_compile() { NATIVE_INSTALL_WORKS = "1" do_install() { + install -d ${D}${bindir}/ + install -m 0755 bin/qmake ${D}${bindir}/qmake2 + for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp; do + install -m 0755 bin/${i} ${D}${bindir}/${i}4 + done + + install -d ${D}${datadir}/qt4/ + cp -PfR mkspecs ${D}${datadir}/qt4/ + ln -sf linux-g++ ${D}${datadir}/qt4/mkspecs/${BUILD_OS}-oe-g++ + cp -f ${WORKDIR}/g++.conf ${WORKDIR}/linux.conf ${D}${datadir}/qt4/mkspecs/common/ + install -m 0644 tools/porting/src/q3porting.xml ${D}${datadir}/qt4/ + for i in ${TOBUILD}; do cd ${S}/$i && oe_runmake install INSTALL_ROOT=${D} done |