libtool-sdk: Convert from legacy staging
[openembedded.git] / classes / qt4e.bbclass
blob303b79b8a67b5ae39df4649662375200445b8f36
1 DEPENDS_prepend = "${@["qt4-embedded ", ""][(bb.data.getVar('PN', d, 1)[:12] == 'qt4-embedded')]}"
2 inherit qmake2
4 QT_DIR_NAME = "qtopia"
5 QT_LIBINFIX = "E"
6 # override variables set by qmake-base to compile Qt/Embedded apps
8 export QMAKESPEC = "${STAGING_DATADIR}/${QT_DIR_NAME}/mkspecs/${TARGET_OS}-oe-g++"
9 export OE_QMAKE_INCDIR_QT = "${STAGING_INCDIR}/${QT_DIR_NAME}"
10 export OE_QMAKE_LIBDIR_QT = "${STAGING_LIBDIR}"
11 export OE_QMAKE_LIBS_QT = "qt"
12 export OE_QMAKE_LIBS_X11 = ""
13 export OE_QMAKE_EXTRA_MODULES = "network"
14 EXTRA_QMAKEVARS_PRE += " QT_LIBINFIX=${QT_LIBINFIX} "
16 # Qt4 uses atomic instructions not supported in thumb mode
17 ARM_INSTRUCTION_SET = "arm"