From d86c20734d966459da171bbd3da8e98cb992ac65 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Sat, 22 Apr 2006 21:02:25 +0000 Subject: palmtop.bbclass: document what this class does and automatically set up CONFIG=thread, if PALMTOP_USE_MULTITHREADED_QT is set to yes --- classes/palmtop.bbclass | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'classes/palmtop.bbclass') diff --git a/classes/palmtop.bbclass b/classes/palmtop.bbclass index 1ed0206ec3..fb2f539589 100644 --- a/classes/palmtop.bbclass +++ b/classes/palmtop.bbclass @@ -1,9 +1,15 @@ -# basically a placeholder for something more fancy -# for now, just declare some things +# this build class sets up qmake variables to +# * build using the Qt Windowing System (QWS) +# * use qt +# * link against supc++ instead of stdc++ +# * use threads, if requested via PALMTOP_USE_MULTITHREADED_QT = "yes" +# inherit this class to build programs against libqpe +# inherit opie if you want to build programs against libopie2 inherit qmake -EXTRA_QMAKEVARS_POST_append = " DEFINES+=QWS LIBS+=-lqpe CONFIG+=qt CONFIG+=thread LIBS-=-lstdc++ LIBS+=-lsupc++" +EXTRA_QMAKEVARS_POST += "DEFINES+=QWS LIBS+=-lqpe CONFIG+=qt LIBS-=-lstdc++ LIBS+=-lsupc++" +EXTRA_QMAKEVARS_POST += "${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "CONFIG+=thread", "",d)}' DEPENDS_prepend = "virtual/libqpe1 uicmoc-native " -- cgit 1.2.3-korg