mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
parent
73ccb427db
commit
e3c0bced83
46
gpxsee.pro
46
gpxsee.pro
@ -1,4 +1,8 @@
|
|||||||
TARGET = GPXSee
|
unix {
|
||||||
|
TARGET = gpxsee
|
||||||
|
} else {
|
||||||
|
TARGET = GPXSee
|
||||||
|
}
|
||||||
VERSION = 7.2
|
VERSION = 7.2
|
||||||
|
|
||||||
QT += core \
|
QT += core \
|
||||||
@ -267,6 +271,9 @@ greaterThan(QT_MAJOR_VERSION, 4) {
|
|||||||
SOURCES += src/data/geojsonparser.cpp
|
SOURCES += src/data/geojsonparser.cpp
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
|
||||||
|
DEFINES *= QT_USE_QSTRINGBUILDER
|
||||||
|
|
||||||
RESOURCES += gpxsee.qrc
|
RESOURCES += gpxsee.qrc
|
||||||
TRANSLATIONS = lang/gpxsee_en.ts \
|
TRANSLATIONS = lang/gpxsee_en.ts \
|
||||||
lang/gpxsee_cs.ts \
|
lang/gpxsee_cs.ts \
|
||||||
@ -284,8 +291,8 @@ TRANSLATIONS = lang/gpxsee_en.ts \
|
|||||||
macx {
|
macx {
|
||||||
ICON = icons/gpxsee.icns
|
ICON = icons/gpxsee.icns
|
||||||
QMAKE_INFO_PLIST = pkg/Info.plist
|
QMAKE_INFO_PLIST = pkg/Info.plist
|
||||||
LOCALE.path = Contents/Resources/translations
|
locale.path = Contents/Resources/translations
|
||||||
LOCALE.files = lang/gpxsee_en.qm \
|
locale.files = lang/gpxsee_en.qm \
|
||||||
lang/gpxsee_cs.qm \
|
lang/gpxsee_cs.qm \
|
||||||
lang/gpxsee_de.qm \
|
lang/gpxsee_de.qm \
|
||||||
lang/gpxsee_fi.qm \
|
lang/gpxsee_fi.qm \
|
||||||
@ -297,12 +304,12 @@ macx {
|
|||||||
lang/gpxsee_da.qm \
|
lang/gpxsee_da.qm \
|
||||||
lang/gpxsee_tr.qm \
|
lang/gpxsee_tr.qm \
|
||||||
lang/gpxsee_es.qm
|
lang/gpxsee_es.qm
|
||||||
CSV.path = Contents/Resources
|
csv.path = Contents/Resources
|
||||||
CSV.files = pkg/csv
|
csv.files = pkg/csv
|
||||||
MAPS.path = Contents/Resources
|
maps.path = Contents/Resources
|
||||||
MAPS.files = pkg/maps
|
maps.files = pkg/maps
|
||||||
ICONS.path = Contents/Resources/icons
|
icons.path = Contents/Resources/icons
|
||||||
ICONS.files = icons/gpx.icns \
|
icons.files = icons/gpx.icns \
|
||||||
icons/tcx.icns \
|
icons/tcx.icns \
|
||||||
icons/kml.icns \
|
icons/kml.icns \
|
||||||
icons/fit.icns \
|
icons/fit.icns \
|
||||||
@ -313,8 +320,9 @@ macx {
|
|||||||
icons/wpt.icns \
|
icons/wpt.icns \
|
||||||
icons/loc.icns \
|
icons/loc.icns \
|
||||||
icons/slf.icns
|
icons/slf.icns
|
||||||
QMAKE_BUNDLE_DATA += LOCALE MAPS ICONS CSV
|
QMAKE_BUNDLE_DATA += locale maps icons csv
|
||||||
}
|
}
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
RC_ICONS = icons/gpxsee.ico \
|
RC_ICONS = icons/gpxsee.ico \
|
||||||
icons/gpx.ico \
|
icons/gpx.ico \
|
||||||
@ -331,5 +339,19 @@ win32 {
|
|||||||
DEFINES += _USE_MATH_DEFINES
|
DEFINES += _USE_MATH_DEFINES
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
|
unix {
|
||||||
DEFINES *= QT_USE_QSTRINGBUILDER
|
maps.files = pkg/maps/*
|
||||||
|
maps.path = /usr/local/share/gpxsee/maps
|
||||||
|
csv.files = pkg/csv/*
|
||||||
|
csv.path = /usr/local/share/gpxsee/csv
|
||||||
|
locale.files = lang/*.qm
|
||||||
|
locale.path = /usr/local/share/gpxsee/translations
|
||||||
|
icon.files = icons/gpxsee.png
|
||||||
|
icon.path = /usr/local/share/pixmaps
|
||||||
|
desktop.files = pkg/gpxsee.desktop
|
||||||
|
desktop.path = /usr/local/share/applications
|
||||||
|
mime.files = pkg/gpxsee.xml
|
||||||
|
mime.path = /usr/local/share/mime/packages
|
||||||
|
target.path = /usr/local/bin
|
||||||
|
INSTALLS += target maps csv locale icon desktop mime
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user