Last change
on this file since 902 was 846, checked in by Dmitry A. Kuminov, 14 years ago |
trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.
|
-
Property svn:eol-style
set to
native
|
File size:
1.4 KB
|
Line | |
---|
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 | newallocator_hook.cpp
|
---|
19 |
|
---|
20 | # s60main needs to be built in ARM mode for GCCE to work.
|
---|
21 | CONFIG += do_not_build_as_thumb
|
---|
22 |
|
---|
23 | # staticlib should not have any lib depencies in s60
|
---|
24 | # This seems not to work, some hard coded libs are still added as dependency
|
---|
25 | LIBS =
|
---|
26 |
|
---|
27 | # Workaround for abld toolchain problem to make ARMV6 qtmain.lib link with GCCE apps
|
---|
28 | symbian-abld: QMAKE_CXXFLAGS.ARMCC += --dllimport_runtime
|
---|
29 |
|
---|
30 | # Having MMP_RULES_DONT_EXPORT_ALL_CLASS_IMPEDIMENTA will cause s60main.lib be unlinkable
|
---|
31 | # against GCCE apps, so remove it
|
---|
32 | MMP_RULES -= $$MMP_RULES_DONT_EXPORT_ALL_CLASS_IMPEDIMENTA
|
---|
33 | linux-armcc:QMAKE_CXXFLAGS *= --export_all_vtbl
|
---|
34 |
|
---|
35 | # Flag if exports are not frozen to avoid lookup of qtcore allocator creation function by ordinal
|
---|
36 | contains(CONFIG, def_files_disabled): DEFINES += QT_EXPORTS_NOT_FROZEN
|
---|
37 | } else {
|
---|
38 | error("$$_FILE_ is intended only for Symbian!")
|
---|
39 | }
|
---|
40 |
|
---|
41 | include(../qbase.pri)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.