2 # qmake configuration derived from linux-g++
4 # This mkspec is intended for use with scratchbox 2 (sb2) and assumes the
5 # default sb2 target is set appropriately, or you will have to append the
6 # appropriate -t $target argument to sb2
8 # If you want to use pkg-config you have to explicitly force it by passing
9 # -force-pkg-config to configure. You will probably want to export your
10 # PKG_CONFIG_PATH shell variable in order for the host pkg-config to
11 # correctly query and utilize your targets .pc files (normally stored in
12 # $staging/usr/lib/pkgconfig)
14 MAKEFILE_GENERATOR = UNIX
16 CONFIG += qt warn_on release incremental link_prl
18 QMAKE_INCREMENTAL_STYLE = sublib
20 include(../../common/g++.conf)
21 include(../../common/linux.conf)
23 # modifications to g++.conf
27 QMAKE_LINK_SHLIB = sb2 g++
29 # modifications to linux.conf
31 QMAKE_OBJCOPY = sb2 objcopy
32 QMAKE_STRIP = sb2 strip