summaryrefslogtreecommitdiff
path: root/classes/palmtop.bbclass
blob: fb2f5395895a5dcb89f2cae16615d7d6d1a39add (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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 += "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 "

FILES_${PN} = "${palmtopdir}"