author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Wed, 18 Aug 2010 10:37:55 +0300 | |
changeset 33 | 3e2da88830cd |
parent 30 | 5dc02b23752f |
permissions | -rw-r--r-- |
0 | 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 |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
15 |
TARGET_PLATFORM = unix |
0 | 16 |
TEMPLATE = app |
17 |
CONFIG += qt warn_on release incremental link_prl |
|
18 |
QT += core gui |
|
19 |
QMAKE_INCREMENTAL_STYLE = sublib |
|
20 |
||
21 |
include(../../common/g++.conf) |
|
22 |
include(../../common/linux.conf) |
|
23 |
||
24 |
# modifications to g++.conf |
|
25 |
QMAKE_CC = sb2 gcc |
|
26 |
QMAKE_CXX = sb2 g++ |
|
27 |
QMAKE_LINK = sb2 g++ |
|
28 |
QMAKE_LINK_SHLIB = sb2 g++ |
|
29 |
||
30 |
# modifications to linux.conf |
|
31 |
QMAKE_AR = sb2 ar cqs |
|
32 |
QMAKE_OBJCOPY = sb2 objcopy |
|
33 |
QMAKE_STRIP = sb2 strip |
|
34 |
||
35 |
load(qt_config) |