-
Notifications
You must be signed in to change notification settings - Fork 0
/
mapp.pro
95 lines (80 loc) · 2.14 KB
/
mapp.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
# NOTICE:
#
# Application name defined in TARGET has a corresponding QML filename.
# If name defined in TARGET is changed, the following needs to be done
# to match new name:
# - corresponding QML filename must be changed
# - desktop icon filename must be changed
# - desktop filename must be changed
# - icon definition filename in desktop file must be changed
# - translation filenames have to be changed
# The name of your application
TARGET = mapp
CONFIG += sailfishapp
CONFIG+=C++11
linux{
exists("/usr/include/sailfishapp/sailfishapp.h"): {
DEFINES += _MOUSE
}else{
CONFIG += desktop
DEFINES += _DESKTOP_BUILD
QT += qml quick
}
}
*:debug{
CONFIG+=declarative_debug
CONFIG+=qml_debug
DEFINES+= _DEBUG
message("compiling for debug")
}
QT += gui positioning
SOURCES += \
src/slippyprovider.cpp \
src/tile.cpp \
src/slippycache.cpp \
src/providers/osmprovider.cpp \
src/mapp.cpp \
src/slippyview.cpp \
src/providers/googlemapsprovider.cpp \
src/drawable.cpp \
src/stores/slippytilestore.cpp \
src/stores/folderstore.cpp \
src/tilemanager.cpp \
src/slippycoordinates.cpp
OTHER_FILES += \
qml/cover/CoverPage.qml \
qml/pages/FirstPage.qml \
qml/pages/SecondPage.qml \
rpm/mapp.changes.in \
rpm/mapp.spec \
rpm/mapp.yaml \
translations/*.ts \
mapp.desktop \
qml/mapp.qml \
qml/pages/Menu.qml \
qml/pages/ThirdPage.qml \
qml/pages/FourthPage.qml \
mapp.png
# to disable building translations every time, comment out the
# following CONFIG line
#CONFIG += sailfishapp_i18n
TRANSLATIONS += translations/map-de.ts
HEADERS += \
src/slippyprovider.h \
src/tile.h \
src/slippycache.h \
src/providers/osmprovider.h \
src/slippyview.h \
src/providers/googlemapsprovider.h \
src/drawable.h \
src/stores/slippytilestore.h \
src/stores/folderstore.h \
src/tilemanager.h \
src/slippycoordinates.h
DISTFILES += \
qml/desktop/main.qml
!exists("/usr/include/sailfishapp/sailfishapp.h"): {
message("adding recource file")
RESOURCES += \
qml/desktop/qml.qrc
}