summaryrefslogtreecommitdiff
path: root/meta/classes/qt4e.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-01-13 15:04:35 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-01 16:10:11 +0000
commit7263adda21f58e0f76b0228b0f5657aa84879927 (patch)
tree83803d1ece944a6817f6243851cf9a5a1e2545cf /meta/classes/qt4e.bbclass
parentc5998e6def9b320eb50247765b096743f6efbfe8 (diff)
downloadopenembedded-core-7263adda21f58e0f76b0228b0f5657aa84879927.tar.gz
openembedded-core-7263adda21f58e0f76b0228b0f5657aa84879927.tar.bz2
openembedded-core-7263adda21f58e0f76b0228b0f5657aa84879927.tar.xz
openembedded-core-7263adda21f58e0f76b0228b0f5657aa84879927.zip
qt4: add qt4-embedded 4.6.3 from meta-openembedded
Changes from the meta-openembedded version: * Change the order of includes so that embedded takes precedence (ensuring SRC_URI additions from qt-embedded.inc work) * Specify -embedded in qt-embedded.inc * Remove SRC_URI and S which should come from qt-${PV}.inc * Remove QT_DIR_NAME and QT_LIBINFIX as these come from qt4e.bbclass * Correct LICENSE * Set DESCRIPTION instead of SUMMARY as SUMMARY will inherit by default * Add qthelp-lib-qtclucene.patch (required to build) * Whitespace fixes Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta/classes/qt4e.bbclass')
-rw-r--r--meta/classes/qt4e.bbclass18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/classes/qt4e.bbclass b/meta/classes/qt4e.bbclass
new file mode 100644
index 000000000..670605ba4
--- /dev/null
+++ b/meta/classes/qt4e.bbclass
@@ -0,0 +1,18 @@
+DEPENDS_prepend = "${@["qt4-embedded ", ""][(bb.data.getVar('PN', d, 1)[:12] == 'qt4-embedded')]}"
+
+inherit qmake2
+
+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_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"