equal
deleted
inserted
replaced
|
1 # |
|
2 # qmake configuration derived from linux-g++ |
|
3 # |
|
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 |
|
7 |
|
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) |
|
13 |
|
14 MAKEFILE_GENERATOR = UNIX |
|
15 TEMPLATE = app |
|
16 CONFIG += qt warn_on release incremental link_prl |
|
17 QT += core gui |
|
18 QMAKE_INCREMENTAL_STYLE = sublib |
|
19 |
|
20 include(../../common/g++.conf) |
|
21 include(../../common/linux.conf) |
|
22 |
|
23 # modifications to g++.conf |
|
24 QMAKE_CC = sb2 gcc |
|
25 QMAKE_CXX = sb2 g++ |
|
26 QMAKE_LINK = sb2 g++ |
|
27 QMAKE_LINK_SHLIB = sb2 g++ |
|
28 |
|
29 # modifications to linux.conf |
|
30 QMAKE_AR = sb2 ar cqs |
|
31 QMAKE_OBJCOPY = sb2 objcopy |
|
32 QMAKE_STRIP = sb2 strip |
|
33 |
|
34 load(qt_config) |