forked from veskuh/Tweetian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tweetian.pro
86 lines (68 loc) · 2.18 KB
/
tweetian.pro
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
TEMPLATE = app
TARGET = tweetian
# Application version
VERSION = 1.8.1
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
# Qt Library
QT += network
# Qt Mobility Library
CONFIG += mobility
MOBILITY += feedback location gallery
HEADERS += \
src/qmlutils.h \
src/thumbnailcacher.h \
src/userstream.h \
src/networkmonitor.h \
src/imageuploader.h
SOURCES += main.cpp \
src/qmlutils.cpp \
src/thumbnailcacher.cpp \
src/userstream.cpp \
src/networkmonitor.cpp \
src/imageuploader.cpp
simulator{
qml_harmattan.source = qml/tweetian-harmattan
qml_harmattan.target = qml
qml_symbian.source = qml/tweetian-symbian
qml_symbian.target = qml
DEPLOYMENTFOLDERS = qml_harmattan qml_symbian
RESOURCES += qml-harmattan.qrc qml-symbian.qrc
}
simulator|contains(MEEGO_EDITION,harmattan){
include(notifications/notifications.pri)
splash.files = splash/tweetian-splash-portrait.jpg splash/tweetian-splash-landscape.jpg
splash.path = /opt/tweetian/splash
INSTALLS += splash
HEADERS += src/harmattanutils.h
SOURCES += src/harmattanutils.cpp
}
contains(MEEGO_EDITION,harmattan){
QT += dbus
CONFIG += qdeclarative-boostable shareuiinterface-maemo-meegotouch share-ui-plugin share-ui-common mdatauri
DEFINES += Q_OS_HARMATTAN
RESOURCES += qml-harmattan.qrc
HEADERS += src/tweetianif.h
SOURCES += src/tweetianif.cpp
}
symbian{
TARGET.UID3 = 0x2005e90a
TARGET.CAPABILITY += NetworkServices Location LocalServices ReadUserData WriteUserData
TARGET.EPOCHEAPSIZE = 0x40000 0x4000000
CONFIG += qt-components
vendorinfo += "%{\"Dickson\"}" ":\"Dickson\""
my_deployment.pkg_prerules = vendorinfo
DEPLOYMENT += my_deployment
DEPLOYMENT.display_name = Tweetian
ICON = Tweetian.svg
RESOURCES += qml-symbian.qrc
# Symbian have a different syntax
DEFINES -= APP_VERSION=\\\"$$VERSION\\\"
DEFINES += APP_VERSION=\"$$VERSION\"
}
OTHER_FILES += qtc_packaging/debian_harmattan/* \
i18n/tweetian_*.ts \
tweetian_harmattan.desktop \
README.md
# Please do not modify the following two lines. Required for deployment.
include(qmlapplicationviewer/qmlapplicationviewer.pri)
qtcAddDeployment()