summaryrefslogtreecommitdiff
path: root/demos/mobile/qcamera/qcamera.pro
blob: 17b9513946b6990dd954f917dc6cb4700d2bd626 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62

# Copyright (c) 2011 Nokia Corporation.

TEMPLATE = app
TARGET = qcamera

VERSION = 1.1.0

QT += network

HEADERS += contactsdlg.h \
    cameraexample.h \
    messagehandling.h \
    button.h \
    businesscardhandling.h

SOURCES += contactsdlg.cpp \
    main.cpp \
    cameraexample.cpp \
    messagehandling.cpp \
    button.cpp \
    businesscardhandling.cpp

CONFIG += mobility
MOBILITY = contacts \
    messaging \
    multimedia \
    systeminfo \
    location

RESOURCES += resources.qrc

ICON = icons/cameramms_icon.svg

symbian: {
    # Because landscape orientation lock
    LIBS += -lcone -leikcore -lavkon
    TARGET.UID3 = 0xEF642F0E
    TARGET = QCamera
    TARGET.EPOCSTACKSIZE = 0x14000
    TARGET.EPOCHEAPSIZE = 0x20000 0x8000000

    # Self-signing capabilities
    TARGET.CAPABILITY += NetworkServices \
        ReadUserData \
        WriteUserData \
        LocalServices \
        UserEnvironment

    # QtMobility Messaging module needs these
    #DEFINES += MESSAGING_ENABLED

    contains(DEFINES,MESSAGING_ENABLED) {
        # Additional capabilities that needs Open Signed Online signing
        TARGET.CAPABILITY += ReadDeviceData WriteDeviceData
    }
}

!contains(DEFINES,MESSAGING_ENABLED) {
    warning(Qt Mobility Messaging disabled!)
}