qt4-native: unbreak qt4 compilation by providing the necessary native tools
PATCH 1/1 qt4-native: unbreak qt4 compilation by providing the necessary native tools
was broken by commit 5a6efd58cdc85d08ab9e106c84bbac5110b5aecd
Signed-off-by Eric Bénard <[email protected]>
--- recipes/qt4/qt4-native.inc | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-)
recipes/qt4/qt4-native.inc +15 -0
@@ -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
Signature · 1 line
1.7.0.4