[oe] qt-x11-free_7.7.2 fail configure missing qmake

Eric Bénard eric at eukrea.com
Fri May 13 19:35:56 UTC 2011


Hi,

> On 13/05/2011 16:28, Eivind Kvedalen wrote:
>> I get the same problem here when trying to compile qt4-embedded_4.7.2.bb.
>>
>> Build Configuration:
>> BB_VERSION = "1.10.2"
>> METADATA_BRANCH = "master"
>> METADATA_REVISION = "54ab33e"
>> TARGET_ARCH = "arm"
>> TARGET_OS = "linux-gnueabi"
>> MACHINE = "beagleboard"
>> DISTRO = "angstrom"
>> DISTRO_VERSION = "v2011.05"
>> TARGET_FPU = "hard"
>>
problem reproduced with a clean tmp.
this patch restore a part that 5a6efd58cdc85d08ab9e106c84bbac5110b5aecd 
removed in do_install which seems to be the root of the problem.

I'm testing and will send a clean patch if that works.

Eric

diff --git a/recipes/qt4/qt4-native.inc b/recipes/qt4/qt4-native.inc
index d99d9de..495a928 100644
--- a/recipes/qt4/qt4-native.inc
+++ b/recipes/qt4/qt4-native.inc
@@ -63,6 +63,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




More information about the Openembedded-devel mailing list