summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/qt4x11.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/qt4x11.bbclass b/classes/qt4x11.bbclass
index afa840f5db..04aff565be 100644
--- a/classes/qt4x11.bbclass
+++ b/classes/qt4x11.bbclass
@@ -1,7 +1,9 @@
+DEPENDS_prepend = "qmake2-native "
#
-# override variables set by qmake-base to compile Qt/X11 apps
+# override variables set by qmake-base to compile Qt4/X11 apps
#
export QTDIR="${STAGING_DIR}/${HOST_SYS}/qt4"
+export QMAKESPEC="${QTDIR}/mkspecs/${TARGET_OS}-oe-g++"
export OE_QMAKE_UIC="${STAGING_BINDIR}/uic4"
export OE_QMAKE_MOC="${STAGING_BINDIR}/moc4"
export OE_QMAKE_RCC="${STAGING_BINDIR}/rcc4"