source: trunk/mkspecs/features/symbian/qt.prf@ 1036

Last change on this file since 1036 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: 2.5 KB
Line 
1contains(DEFINES, QT_MAKEDLL)|contains(DEFINES, QT_DLL) {
2 CONFIG *= epocallowdlldata
3}
4
5CONFIG += qtmain
6
7load(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#
22INCLUDEPATH = $$PREPEND_INCLUDEPATH $$INCLUDEPATH
23
24# Add dependency to Qt package to all other projects besides Qt libs.
25# Note: Qt libs package with full capabilities has UID3 of 0x2001E61C,
26# while self-signed version typically has temporary UID3 of 0xE001E61C.
27contains(CONFIG, qt):!contains(TARGET.UID3, 0x2001E61C):!contains(TARGET.UID3, 0xE001E61C):isEmpty(QT_LIBINFIX) {
28 qt_pkg_name = Qt
29 pkg_depends_qt += \
30 "; Default dependency to Qt libraries" \
31 "(0x2001E61C), $${QT_MAJOR_VERSION}, $${QT_MINOR_VERSION}, $${QT_PATCH_VERSION}, {$$addLanguageDependentPkgItem(qt_pkg_name)}"
32
33 # Projects linking to webkit need dependency to webkit
34 contains(QT, webkit): {
35 # these can be overridden by mkspecs/modules/qt_webkit.pri
36 isEmpty(QT_WEBKIT_MAJOR_VERSION) {
37 QT_WEBKIT_MAJOR_VERSION = $${QT_MAJOR_VERSION}
38 QT_WEBKIT_MINOR_VERSION = $${QT_MINOR_VERSION}
39 QT_WEBKIT_PATCH_VERSION = $${QT_PATCH_VERSION}
40 }
41
42 webkit_pkg_name = QtWebKit
43 pkg_depends_webkit += \
44 "; Dependency to Qt Webkit" \
45 "(0x200267C2), $${QT_WEBKIT_MAJOR_VERSION}, $${QT_WEBKIT_MINOR_VERSION}, $${QT_WEBKIT_PATCH_VERSION}, {$$addLanguageDependentPkgItem(webkit_pkg_name)}"
46 } else {
47 default_deployment.pkg_prerules -= pkg_depends_webkit
48 }
49} else {
50 default_deployment.pkg_prerules -= pkg_depends_webkit pkg_depends_qt
51}
52
53isEmpty(TARGET.EPOCSTACKSIZE):TARGET.EPOCSTACKSIZE = 0x14000
54isEmpty(TARGET.EPOCHEAPSIZE):TARGET.EPOCHEAPSIZE = 0x020000 0x800000
55
56# Workaround for the fact that Gnupoc and Symbian chose different approaches to
57# the letter casing of headers.
58contains(CONFIG, is_using_gnupoc) {
59 INCLUDEPATH += $${PWD}/../../common/symbian/header-wrappers
60}
Note: See TracBrowser for help on using the repository browser.