|
1 contains(DEFINES, QT_MAKEDLL)|contains(DEFINES, QT_DLL) { |
|
2 CONFIG *= epocallowdlldata |
|
3 } |
|
4 |
|
5 CONFIG += qtmain stl |
|
6 |
|
7 load(qt) |
|
8 |
|
9 # Allow .pro files to specify include path(s) to be prepended to the list. |
|
10 # |
|
11 # This allows the project to override the default ordering, whereby paths |
|
12 # relative to $$QMAKE_INCDIR_QT always come first. This ordering can cause |
|
13 # problems when both the epoc32/include tree and a Qt include directory |
|
14 # contain a header of the same name - in this case, the Qt header is always |
|
15 # included by virtue of its path appearing first in the SYSTEMINCLUDE |
|
16 # directives in the generated MMP file. |
|
17 # |
|
18 # To work around this situation, the following line can be added to the .pro |
|
19 # file: |
|
20 # PREPEND_INCLUDEPATH = /epoc32/include |
|
21 # |
|
22 INCLUDEPATH = $$PREPEND_INCLUDEPATH $$INCLUDEPATH |
|
23 |
|
24 # Add dependency to Qt package to all other projects besides Qt libs. |
|
25 # Note: Qt libs with full capabilities has UID3 of 0x2001E61C, |
|
26 # while self-signed version typically has temporary UID3 of 0xE001E61C. |
|
27 contains(CONFIG, qt):!contains(TARGET.UID3, 0x2001E61C):!contains(TARGET.UID3, 0xE001E61C) { |
|
28 default_deployment.pkg_prerules += \ |
|
29 "; Default dependency to Qt libraries" \ |
|
30 "(0x2001E61C), $${QT_MAJOR_VERSION}, $${QT_MINOR_VERSION}, $${QT_PATCH_VERSION}, {\"Qt\"}" |
|
31 } |
|
32 |
|
33 isEmpty(TARGET.EPOCSTACKSIZE):TARGET.EPOCSTACKSIZE = 0x14000 |
|
34 isEmpty(TARGET.EPOCHEAPSIZE):TARGET.EPOCHEAPSIZE = 0x020000 0x800000 |
|
35 |
|
36 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE |
|
37 for(QTLIB, $$list($$lower($$unique(QT)))) { |
|
38 unset(qlib) |
|
39 isEqual(QTLIB, phonon):qlib = phonon |
|
40 else:qlib = qt$$QTLIB |
|
41 INCLUDEPATH += $$MW_LAYER_PUBLIC_EXPORT_PATH($$qlib) |
|
42 } |
|
43 |
|
44 contains(CONFIG, hb): { |
|
45 INCLUDEPATH += \ |
|
46 $$MW_LAYER_PUBLIC_EXPORT_PATH(hb/hbcnf) \ |
|
47 $$MW_LAYER_PUBLIC_EXPORT_PATH(hb/hbcore) \ |
|
48 $$MW_LAYER_PUBLIC_EXPORT_PATH(hb/hbinput) \ |
|
49 $$MW_LAYER_PUBLIC_EXPORT_PATH(hb/hbservices) \ |
|
50 $$MW_LAYER_PUBLIC_EXPORT_PATH(hb/hbwidgets) |
|
51 } |
|
52 |
|
53 #add log of the warning message directly to the file instead of RDebug |
|
54 DEFINES += QT_WARNING_FILE_OUTPUT |