summaryrefslogtreecommitdiff
path: root/classes/qt4e.bbclass
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2009-02-27 14:01:57 +0100
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-02-27 14:11:38 +0100
commit188de8046f59298cbe6f10d13bdff59beafe7c10 (patch)
treefaabb8d39b4f2fbd421807f2d1ec1a984c80d354 /classes/qt4e.bbclass
parentc1f7f80ab95d27834b3cd038880addc2d2e53dff (diff)
qt-embedded: restore qtopia4core.bbclass, add qt4e.bbclass
Diffstat (limited to 'classes/qt4e.bbclass')
-rw-r--r--classes/qt4e.bbclass13
1 files changed, 13 insertions, 0 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 "