forked from xXSparkeyy/harbour-spritradar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathharbour-spritradar.pro
52 lines (41 loc) · 1.64 KB
/
harbour-spritradar.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
# 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 = harbour-spritradar
QT+=positioning network concurrent
CONFIG += sailfishapp
HEADERS += \
src/settings.h \
SOURCES += src/harbour-spritradar.cpp \
src/settings.cpp \
OTHER_FILES += qml/harbour-spritradar.qml \
qml/cover/*.qml \
qml/pages/*.qml \
qml/pages/Plugin/*.qml \
rpm/harbour-spritradar.yaml \
translations/*.ts \
harbour-spritradar.desktop \
rpm/harbour-spritradar.changes
!defined(TANKERKOENIG_APIKEY, var) {
error("Please provide Tankerkoenig API key as argument of qmake, e.g. 'qmake TANKERKOENIG_APIKEY=<your API key here>'")
}
DEFINES += TANKERKOENIG_APIKEY=\\\"$$TANKERKOENIG_APIKEY\\\"
# to disable building translations every time, comment out the
# following CONFIG line
CONFIG += sailfishapp_i18n
# German translation is enabled as an example. If you aren't
# planning to localize your app, remember to comment out the
# following TRANSLATIONS line. And also do not forget to
# modify the localized app name in the the .desktop file.
TRANSLATIONS += translations/harbour-spritradar.ts \
translations/harbour-spritradar-de.ts \
translations/harbour-spritradar-es.ts \
translations/harbour-spritradar-it.ts