The class is inheriting qmake2.bbclass which exports OE_QMAKE_QT_CONFIG pointing to the qt4 qconfig.pri when it should be pointing to the qt4-embedded qconfig.pri. (From OE-Core rev: ed78661e147780ceb1bc1e952b68740984d85971) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25 lines
854 B
Text
25 lines
854 B
Text
QT4EDEPENDS ?= "qt4-embedded "
|
|
DEPENDS_prepend = "${QT4EDEPENDS}"
|
|
|
|
inherit qmake2
|
|
|
|
QT_BASE_NAME = "qt4-embedded"
|
|
QT_DIR_NAME = "qtopia"
|
|
QT_LIBINFIX = "E"
|
|
# override variables set by qmake-base to compile Qt/Embedded apps
|
|
#
|
|
export QMAKESPEC = "${STAGING_DATADIR}/${QT_DIR_NAME}/mkspecs/${TARGET_OS}-oe-g++"
|
|
export OE_QMAKE_QT_CONFIG = "${STAGING_DATADIR}/${QT_DIR_NAME}/mkspecs/qconfig.pri"
|
|
export OE_QMAKE_INCDIR_QT = "${STAGING_INCDIR}/${QT_DIR_NAME}"
|
|
export OE_QMAKE_LIBDIR_QT = "${STAGING_LIBDIR}"
|
|
export OE_QMAKE_LIBS_QT = "qt"
|
|
export OE_QMAKE_LIBS_X11 = ""
|
|
export OE_QMAKE_EXTRA_MODULES = "network"
|
|
EXTRA_QMAKEVARS_PRE += " QT_LIBINFIX=${QT_LIBINFIX} "
|
|
|
|
# Qt4 uses atomic instructions not supported in thumb mode
|
|
ARM_INSTRUCTION_SET = "arm"
|
|
|
|
# Qt4 could NOT be built on MIPS64 with 64 bits userspace
|
|
COMPATIBLE_HOST_mips64 = "mips64.*-linux-gnun32"
|