1TEMPLATE = app
2TARGET = qcamera
3
4VERSION = 1.1.0
5
6QT += network
7
8HEADERS += contactsdlg.h \
9    cameraexample.h \
10    messagehandling.h \
11    button.h \
12    businesscardhandling.h
13
14SOURCES += contactsdlg.cpp \
15    main.cpp \
16    cameraexample.cpp \
17    messagehandling.cpp \
18    button.cpp \
19    businesscardhandling.cpp
20
21CONFIG += mobility
22MOBILITY = contacts \
23    messaging \
24    multimedia \
25    systeminfo \
26    location
27
28RESOURCES += resources.qrc
29
30ICON = icons/cameramms_icon.svg
31
32symbian: {
33    # Because landscape orientation lock
34    LIBS += -lcone -leikcore -lavkon
35    TARGET.UID3 = 0xEF642F0E
36    TARGET = QCamera
37    TARGET.EPOCSTACKSIZE = 0x14000
38    TARGET.EPOCHEAPSIZE = 0x20000 0x8000000
39
40    # Self-signing capabilities
41    TARGET.CAPABILITY += NetworkServices \
42        ReadUserData \
43        WriteUserData \
44        LocalServices \
45        UserEnvironment
46
47    # QtMobility Messaging module needs these
48    #DEFINES += MESSAGING_ENABLED
49
50    contains(DEFINES,MESSAGING_ENABLED) {
51        # Additional capabilities that needs Open Signed Online signing
52        TARGET.CAPABILITY += ReadDeviceData WriteDeviceData
53    }
54}
55
56!contains(DEFINES,MESSAGING_ENABLED) {
57    warning(Qt Mobility Messaging disabled!)
58}
59
60