]> git.openpandora.org Git - openembedded.git/commitdiff
palmtop.bbclass: Finally, set qte library variant (MT vs non-MT) at the proper place.
authorPaul Sokolovsky <pmiscml@gmail.com>
Wed, 6 Jun 2007 21:41:23 +0000 (21:41 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Wed, 6 Jun 2007 21:41:23 +0000 (21:41 +0000)
classes/palmtop.bbclass
classes/qmake-base.bbclass

index 39b9bd2b603f64182feeb9de817968456479681b..e99b31aaa3e5f36eef885a85b9dbfeaed3b882b3 100644 (file)
@@ -16,6 +16,7 @@ EXTRA_QMAKEVARS_POST += "DEFINES+=QWS CONFIG+=qt ${CPP_SUPPORT_LIB}"
 EXTRA_QMAKEVARS_POST += '${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "CONFIG+=thread", "CONFIG-=thread",d)}'
 EXTRA_QMAKEVARS_POST += "${@["LIBS+=-lqpe ", ""][(bb.data.getVar('PN', d, 1) == 'libqpe-opie')]}"
 DEPENDS_prepend = "${@["virtual/libqpe1 uicmoc-native ", ""][(bb.data.getVar('PN', d, 1) == 'libqpe-opie')]}"
+QT_LIBRARY = '${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "qte-mt", "qte", d)}'
 
 PACKAGES = "${PN}-dbg ${PN}-dev ${PN} ${PN}-doc ${PN}-locale"
 FILES_${PN} = " ${palmtopdir} "
index 09694e97b8f090219ab74278cb5d2dbf03c2e870..5ca3ee29048fa321f303ce8e3da5cac7c2009714 100644 (file)
@@ -23,7 +23,7 @@ export OE_QMAKE_RPATH="-Wl,-rpath-link,"
 # default to qte2 via bb.conf, inherit qt3x11 to configure for qt3x11
 export OE_QMAKE_INCDIR_QT="${QTDIR}/include"
 export OE_QMAKE_LIBDIR_QT="${QTDIR}/lib"
-export OE_QMAKE_LIBS_QT="qte"
+export OE_QMAKE_LIBS_QT="${QT_LIBRARY}"
 export OE_QMAKE_LIBS_X11=""
 
 oe_qmake_mkspecs () {