author | Eckhart Koeppen <eckhart.koppen@nokia.com> |
Thu, 08 Apr 2010 14:19:33 +0300 | |
branch | RCL_3 |
changeset 7 | 3f74d0d4af4c |
parent 3 | 41300fa6a67c |
permissions | -rw-r--r-- |
0 | 1 |
# Additional Qt project file for qtmain lib on Symbian |
2 |
TEMPLATE = lib |
|
3 |
TARGET = qtmain |
|
4 |
DESTDIR = $$QMAKE_LIBDIR_QT |
|
5 |
QT = |
|
6 |
||
7 |
CONFIG += staticlib warn_on |
|
8 |
CONFIG -= qt shared |
|
9 |
||
10 |
symbian { |
|
11 |
# Note: UID only needed for ensuring that no filename generation conflicts occur |
|
12 |
TARGET.UID3 = 0x2001E61F |
|
13 |
CONFIG += png zlib |
|
14 |
CONFIG -= jpeg |
|
15 |
INCLUDEPATH += tmp $$QMAKE_INCDIR_QT/QtCore $$MW_LAYER_SYSTEMINCLUDE |
|
16 |
SOURCES = qts60main.cpp \ |
|
17 |
qts60main_mcrt0.cpp |
|
18 |
||
19 |
# s60main needs to be built in ARM mode for GCCE to work. |
|
20 |
MMP_RULES+="ALWAYS_BUILD_AS_ARM" |
|
21 |
||
22 |
# staticlib should not have any lib depencies in s60 |
|
23 |
# This seems not to work, some hard coded libs are still added as dependency |
|
24 |
LIBS = |
|
7
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
3
diff
changeset
|
25 |
|
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
3
diff
changeset
|
26 |
# Workaround for abld toolchain problem to make ARMV6 qtmain.lib link with GCCE apps |
3f74d0d4af4c
qt:70947f0f93d948bc89b3b43d00da758a51f1ef84
Eckhart Koeppen <eckhart.koppen@nokia.com>
parents:
3
diff
changeset
|
27 |
symbian-abld: QMAKE_CXXFLAGS.ARMCC += --dllimport_runtime |
0 | 28 |
} else { |
29 |
error("$$_FILE_ is intended only for Symbian!") |
|
30 |
} |
|
31 |
||
32 |
include(../qbase.pri) |