summaryrefslogtreecommitdiffstats
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)
downloadpoky-7263adda21f58e0f76b0228b0f5657aa84879927.tar.gz
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 0000000000..670605ba4b
--- /dev/null
+++ b/meta/classes/qt4e.bbclass
@@ -0,0 +1,18 @@
1DEPENDS_prepend = "${@["qt4-embedded ", ""][(bb.data.getVar('PN', d, 1)[:12] == 'qt4-embedded')]}"
2
3inherit qmake2
4
5QT_DIR_NAME = "qtopia"
6QT_LIBINFIX = "E"
7# override variables set by qmake-base to compile Qt/Embedded apps
8#
9export QMAKESPEC = "${STAGING_DATADIR}/${QT_DIR_NAME}/mkspecs/${TARGET_OS}-oe-g++"
10export OE_QMAKE_INCDIR_QT = "${STAGING_INCDIR}/${QT_DIR_NAME}"
11export OE_QMAKE_LIBDIR_QT = "${STAGING_LIBDIR}"
12export OE_QMAKE_LIBS_QT = "qt"
13export OE_QMAKE_LIBS_X11 = ""
14export OE_QMAKE_EXTRA_MODULES = "network"
15EXTRA_QMAKEVARS_PRE += " QT_LIBINFIX=${QT_LIBINFIX} "
16
17# Qt4 uses atomic instructions not supported in thumb mode
18ARM_INSTRUCTION_SET = "arm"