diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-01-13 15:04:35 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-01 16:10:11 +0000 |
commit | 7263adda21f58e0f76b0228b0f5657aa84879927 (patch) | |
tree | 83803d1ece944a6817f6243851cf9a5a1e2545cf /meta/classes/qt4e.bbclass | |
parent | c5998e6def9b320eb50247765b096743f6efbfe8 (diff) | |
download | poky-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.bbclass | 18 |
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 @@ | |||
1 | DEPENDS_prepend = "${@["qt4-embedded ", ""][(bb.data.getVar('PN', d, 1)[:12] == 'qt4-embedded')]}" | ||
2 | |||
3 | inherit qmake2 | ||
4 | |||
5 | QT_DIR_NAME = "qtopia" | ||
6 | QT_LIBINFIX = "E" | ||
7 | # override variables set by qmake-base to compile Qt/Embedded apps | ||
8 | # | ||
9 | export QMAKESPEC = "${STAGING_DATADIR}/${QT_DIR_NAME}/mkspecs/${TARGET_OS}-oe-g++" | ||
10 | export OE_QMAKE_INCDIR_QT = "${STAGING_INCDIR}/${QT_DIR_NAME}" | ||
11 | export OE_QMAKE_LIBDIR_QT = "${STAGING_LIBDIR}" | ||
12 | export OE_QMAKE_LIBS_QT = "qt" | ||
13 | export OE_QMAKE_LIBS_X11 = "" | ||
14 | export OE_QMAKE_EXTRA_MODULES = "network" | ||
15 | EXTRA_QMAKEVARS_PRE += " QT_LIBINFIX=${QT_LIBINFIX} " | ||
16 | |||
17 | # Qt4 uses atomic instructions not supported in thumb mode | ||
18 | ARM_INSTRUCTION_SET = "arm" | ||