26 # while self-signed version typically has temporary UID3 of 0xE001E61C. |
26 # while self-signed version typically has temporary UID3 of 0xE001E61C. |
27 contains(CONFIG, qt):!contains(TARGET.UID3, 0x2001E61C):!contains(TARGET.UID3, 0xE001E61C) { |
27 contains(CONFIG, qt):!contains(TARGET.UID3, 0x2001E61C):!contains(TARGET.UID3, 0xE001E61C) { |
28 default_deployment.pkg_prerules += \ |
28 default_deployment.pkg_prerules += \ |
29 "; Default dependency to Qt libraries" \ |
29 "; Default dependency to Qt libraries" \ |
30 "(0x2001E61C), $${QT_MAJOR_VERSION}, $${QT_MINOR_VERSION}, $${QT_PATCH_VERSION}, {\"Qt\"}" |
30 "(0x2001E61C), $${QT_MAJOR_VERSION}, $${QT_MINOR_VERSION}, $${QT_PATCH_VERSION}, {\"Qt\"}" |
|
31 |
|
32 # Projects linking to webkit need dependency to webkit |
|
33 contains(QT, webkit): { |
|
34 default_deployment.pkg_prerules += \ |
|
35 "; Dependency to Qt Webkit" \ |
|
36 "(0x200267C2), $${QT_MAJOR_VERSION}, $${QT_MINOR_VERSION}, $${QT_PATCH_VERSION}, {\"QtWebKit\"}" |
|
37 } |
31 } |
38 } |
32 |
39 |
33 isEmpty(TARGET.EPOCSTACKSIZE):TARGET.EPOCSTACKSIZE = 0x14000 |
40 isEmpty(TARGET.EPOCSTACKSIZE):TARGET.EPOCSTACKSIZE = 0x14000 |
34 isEmpty(TARGET.EPOCHEAPSIZE):TARGET.EPOCHEAPSIZE = 0x020000 0x800000 |
41 isEmpty(TARGET.EPOCHEAPSIZE):TARGET.EPOCHEAPSIZE = 0x020000 0x800000 |
35 |
42 |
36 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE |
43 INCLUDEPATH += $$APP_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 |
44 #QTP: add userinclude |
45 #QTP: add userinclude |
45 MMP_RULES+="USERINCLUDE ." |
46 MMP_RULES+="USERINCLUDE ." |
|
47 |
|
48 my_custom_rule = "$${LITERAL_HASH}if defined(ARMCC) && !defined(ARMCC_2_2) && !defined(ARMCC_3_1)"\ |
|
49 "OPTION ARMCC --import_all_vtbl" \ |
|
50 "$${LITERAL_HASH}endif" |
|
51 MMP_RULES += my_custom_rule |