[oe-commits] : xqt: fix to build with either qte or qte-mt

OE GIT Trial gittrial at amethyst.openembedded.net
Sun Sep 7 14:11:55 UTC 2008


Module: OE.dev
Branch: org.openembedded.dev
Commit: 4e5e83773e7909b3c6d9a27a6c7af16f96ae5d5f
URL:    http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=4e5e83773e7909b3c6d9a27a6c7af16f96ae5d5f

Author:  <bluelightning at openembedded.org>
Date:   Sun Sep  7 13:17:53 2008 +0000

xqt: fix to build with either qte or qte-mt

---

 packages/xqt/xqt_0.0.9.bb |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/packages/xqt/xqt_0.0.9.bb b/packages/xqt/xqt_0.0.9.bb
index 3fc071e..c2673ed 100644
--- a/packages/xqt/xqt_0.0.9.bb
+++ b/packages/xqt/xqt_0.0.9.bb
@@ -2,6 +2,8 @@ HOMEPAGE = "http://xqt.sourceforge.jp"
 LICENSE = "GPL"
 SECTION = "x11"
 
+PR = "r1"
+
 SRCDATE = "20041111"
 DEPENDS = "freetype libxi libxmu flex-native virtual/libqte2 libqpe-opie"
 
@@ -9,6 +11,8 @@ SRC_URI = "cvs://anonymous@cvs.sourceforge.jp/cvsroot/xqt;module=xc;method=pserv
 	   file://imake-staging.patch;patch=1 \
 	   file://moc_call.patch;patch=1 "
 
+inherit palmtop
+
 S = "${WORKDIR}/xc"
 
 do_configure() {
@@ -28,7 +32,7 @@ do_configure() {
 	# Qt defines
 	echo "#define QtCmnDefs -fno-exceptions -fno-rtti" >> config/cf/host.def
 	echo "#define QtDir ${QTDIR}" >> config/cf/host.def
-	echo "#define QtLibs -lqpe -lqte -lm -lpng -ljpeg -lts -lsupc++" >> config/cf/host.def
+	echo "#define QtLibs -lqpe -l${QT_LIBRARY} -lm -lpng -ljpeg -lts -lsupc++" >> config/cf/host.def
 	echo "#define MocBin ${STAGING_BINDIR_NATIVE}/moc" >> config/cf/host.def
 	echo "#define QtDefs -DQWS -DOPIE_NEW_MALLOC -DOPIE_NO_ERASE_RECT_HACKFIX  QtCmnDefs" >> config/cf/host.def
 





More information about the Openembedded-commits mailing list