classes/qmake2.bbclass: Remove the usage of the QTDIR from this line as well
authorHolger Freyther <zecke@selfish.org>
Mon, 24 Dec 2007 23:55:27 +0000 (23:55 +0000)
committerHolger Freyther <zecke@selfish.org>
Mon, 24 Dec 2007 23:55:27 +0000 (23:55 +0000)
    (sadly no equivalent to git-commit --amend is available)

classes/qmake2.bbclass

index 63d6faf..cf3419f 100644 (file)
@@ -5,7 +5,7 @@ inherit qmake_base
 
 DEPENDS_prepend = "qmake2-native uicmoc4-native "
 
-export QMAKESPEC = "${QTDIR}/mkspecs/${TARGET_OS}-oe-g++"
+export QMAKESPEC = "${CROSS_DATADIR}/qt4/mkspecs/${TARGET_OS}-oe-g++"
 export OE_QMAKE_UIC = "${STAGING_BINDIR_NATIVE}/uic4"
 export OE_QMAKE_UIC3 = "${STAGING_BINDIR_NATIVE}/uic34"
 export OE_QMAKE_MOC = "${STAGING_BINDIR_NATIVE}/moc4"