forked from custodian/orn-warehouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
warehouse.pro
99 lines (83 loc) · 2.49 KB
/
warehouse.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
87
88
89
90
91
92
93
94
95
96
97
98
99
TEMPLATE = app
TARGET = warehouse
VERSION = 0.1
PACKAGENAME = com.thecust.warehouse
QT += network
#CONFIG +=
DEFINES += QT_USE_FAST_CONCATENATION QT_USE_FAST_OPERATOR_PLUS
contains(MEEGO_EDITION,harmattan){
DEFINES += Q_OS_HARMATTAN
QT += dbus
CONFIG += qdeclarative-boostable meegotouch
CONFIG += mobility meegotouchevents
MOBILITY += feedback
include(plugins/meego/notifications/notifications.pri)
include(plugins/meego/uri-scheme/uri-scheme.pri)
include(plugins/meego/source-policy/source-policy.pri)
}
maemo5 {
DEFINES += Q_OS_MAEMO
CONFIG += mobility12 qdbus
include(plugins/maemo/uri-scheme/uri-scheme.pri)
}
win32 {
# Define QMLJSDEBUGGER to allow debugging of QML in debug builds
# (This might significantly increase build time)
QMLJSDEBUGGER_PATH = C:\QtSDK\QtCreator\share\qtcreator\qml\qmljsdebugger
DEFINES += QMLJSDEBUGGER
}
INCLUDEPATH += $PWD/src
HEADERS += \
src/apptranslator.h \
src/packagemanager.h \
src/qmlthreadworker.h \
src/cache.h
SOURCES += src/main.cpp \
src/apptranslator.cpp \
src/packagemanager.cpp \
src/qmlthreadworker.cpp \
src/cache.cpp
!simulator {
HEADERS += src/dbus_service.h
SOURCES += src/dbus_service.cpp
}
OTHER_FILES += \
qtc_packaging/debian_harmattan/rules \
qtc_packaging/debian_harmattan/README \
qtc_packaging/debian_harmattan/manifest.aegis \
qtc_packaging/debian_harmattan/copyright \
qtc_packaging/debian_harmattan/control \
qtc_packaging/debian_harmattan/compat \
qtc_packaging/debian_harmattan/changelog \
qtc_packaging/debian_harmattan/postinst \
qtc_packaging/debian_harmattan/postrm
OTHER_FILES += \
warehouse_maemo.desktop \
warehouse_meego.desktop \
qml/*
#translations settings
lupdate_only {
SOURCES = qml/main.qml \
qml/components/*.qml \
qml/pages/*.qml \
qml/js/*.js
}
####################DEPLOYMENT SETTINGS###################
include(src/qmlapplicationviewer/qmlapplicationviewer.pri)
maemo5 {
qmlresources.source = $$PWD/qml
qmli18n.source = $$PWD/i18n/*.qm
} else {
qmlresources.source = qml
qmli18n.source = i18n/*.qm
}
qmlresources.target = .
qmli18n.target = i18n
DEPLOYMENTFOLDERS += qmlresources qmli18n
!simulator {
openreposkey.source = $$PWD/openrepos.key
openreposkey.target = .
DEPLOYMENTFOLDERS += openreposkey
}
#deploy targets
qtcAddDeployment()