summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2009-02-27 14:01:57 +0100
committerJeremy Lainé <jeremy.laine@m4x.org>2009-02-27 14:01:57 +0100
commit8f50054be5447478ef6f05a758dd2fe3b289c984 (patch)
treef3b620f5662a9fa070204e0f34efce64eb6c463b /classes
parent97547278b07476ec55e1c82df63628cdf35a56b5 (diff)
qt-embedded: restore qtopia4core.bbclass, add qt4e.bbclass
Diffstat (limited to 'classes')
-rw-r--r--classes/qt4e.bbclass13
-rw-r--r--classes/qtopia4core.bbclass2
2 files changed, 14 insertions, 1 deletions
diff --git a/classes/qt4e.bbclass b/classes/qt4e.bbclass
new file mode 100644
index 0000000000..3fac2bda9b
--- /dev/null
+++ b/classes/qt4e.bbclass
@@ -0,0 +1,13 @@
+DEPENDS_prepend = "${@["qt-embedded ", ""][(bb.data.getVar('PN', d, 1) == 'qt-embedded')]}"
+inherit qmake2
+
+QT_DIR_NAME = "qtopia"
+#
+# override variables set by qmake-base to compile QtopiaCore apps
+#
+export OE_QMAKE_INCDIR_QT = "${STAGING_INCDIR}/qtopia"
+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=E "
diff --git a/classes/qtopia4core.bbclass b/classes/qtopia4core.bbclass
index 3fac2bda9b..b5f10fa486 100644
--- a/classes/qtopia4core.bbclass
+++ b/classes/qtopia4core.bbclass
@@ -1,4 +1,4 @@
-DEPENDS_prepend = "${@["qt-embedded ", ""][(bb.data.getVar('PN', d, 1) == 'qt-embedded')]}"
+DEPENDS_prepend = "${@["qtopia-core ", ""][(bb.data.getVar('PN', d, 1) == 'qtopia-core')]}"
inherit qmake2
QT_DIR_NAME = "qtopia"