breakdeps/gui/gui.pro
author William Roberts <williamr@symbian.org>
Mon, 18 Oct 2010 17:18:49 +0100
changeset 136 4c8d6b2fb1da
permissions -rw-r--r--
First stab at stem_QtGui.dll - nasty, nasty, nasty
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
136
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
     1
TARGET     = stem_QtGui
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
     2
VPATH      = /sf/mw/qt/src/gui
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
     3
MMP_RULES += NOEXPORTLIBRARY
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
     4
defBlock = "deffile /sf/mw/qt/src/s60installs/~/QtGui.def"
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
     5
MMP_RULES += defBlock
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
     6
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
     7
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
     8
QPRO_PWD   = $$PWD
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
     9
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    10
QT = core
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    11
DEFINES   += QT_BUILD_GUI_LIB QT_NO_USING_NAMESPACE
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    12
win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x65000000
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    13
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    14
!win32:!embedded:!mac:!symbian:CONFIG      += x11
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    15
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    16
unix:QMAKE_PKGCONFIG_REQUIRES = QtCore
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    17
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    18
include(/sf/mw/qt/src/qbase.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    19
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    20
contains(QT_CONFIG, x11sm):CONFIG += x11sm
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    21
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    22
#platforms
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    23
x11:include(kernel/x11.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    24
mac:include(kernel/mac.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    25
win32:include(kernel/win.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    26
embedded:include(embedded/embedded.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    27
symbian {
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    28
    include(/sf/mw/qt/src/gui/kernel/symbian.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    29
    # include(/sf/mw/qt/src/gui/s60framework/s60framework.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    30
}
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    31
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    32
#modules
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    33
include(/sf/mw/qt/src/gui/animation/animation.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    34
include(kernel/kernel.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    35
include(/sf/mw/qt/src/gui/image/image.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    36
include(/sf/mw/qt/src/gui/painting/painting.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    37
include(/sf/mw/qt/src/gui/text/text.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    38
include(/sf/mw/qt/src/gui/styles/styles.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    39
include(/sf/mw/qt/src/gui/widgets/widgets.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    40
include(/sf/mw/qt/src/gui/dialogs/dialogs.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    41
include(/sf/mw/qt/src/gui/accessible/accessible.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    42
include(/sf/mw/qt/src/gui/itemviews/itemviews.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    43
include(/sf/mw/qt/src/gui/inputmethod/inputmethod.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    44
include(/sf/mw/qt/src/gui/graphicsview/graphicsview.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    45
include(/sf/mw/qt/src/gui/util/util.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    46
include(/sf/mw/qt/src/gui/statemachine/statemachine.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    47
include(/sf/mw/qt/src/gui/math3d/math3d.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    48
include(/sf/mw/qt/src/gui/effects/effects.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    49
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    50
contains(QT_CONFIG, egl): include(/sf/mw/qt/src/gui/egl/egl.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    51
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    52
embedded: QT += network
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    53
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    54
QMAKE_LIBS += $$QMAKE_LIBS_GUI
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    55
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    56
contains(DEFINES,QT_EVAL):include($$QT_SOURCE_TREE/src/corelib/eval.pri)
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    57
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    58
QMAKE_DYNAMIC_LIST_FILE = $$PWD/QtGui.dynlist
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    59
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    60
DEFINES += Q_INTERNAL_QAPP_SRC
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    61
symbian: {
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    62
    TARGET.UID3=0x2001B2DD
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    63
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    64
    # ro-section in gui can exceed default allocated space, so move rw-section a little further
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    65
    QMAKE_LFLAGS.ARMCC += --rw-base 0x800000
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    66
    QMAKE_LFLAGS.GCCE += -Tdata 0xC00000
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    67
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    68
    # Partial upgrade SIS file
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    69
    vendorinfo = \
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    70
        "; Localised Vendor name" \
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    71
        "%{\"Nokia, Qt\"}" \
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    72
        " " \
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    73
        "; Unique Vendor name" \
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    74
        ":\"Nokia, Qt\"" \
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    75
        " "
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    76
    pu_header = "; Partial upgrade package for testing QtGui changes without reinstalling everything" \
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    77
                "$${LITERAL_HASH}{\"Qt gui\"}, (0x2001E61C), $${QT_MAJOR_VERSION},$${QT_MINOR_VERSION},$${QT_PATCH_VERSION}, TYPE=PU"
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    78
    partial_upgrade.pkg_prerules = pu_header vendorinfo
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    79
    partial_upgrade.sources = qtgui.dll
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    80
    partial_upgrade.path = c:/sys/bin
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    81
    DEPLOYMENT = partial_upgrade $$DEPLOYMENT
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    82
}
4c8d6b2fb1da First stab at stem_QtGui.dll - nasty, nasty, nasty
William Roberts <williamr@symbian.org>
parents:
diff changeset
    83