1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-12-05 00:39:09 +01:00
GPXSee/gpxsee.pro

606 lines
17 KiB
Prolog
Raw Permalink Normal View History

2022-05-28 14:05:14 +02:00
unix:!macx:!android {
TARGET = gpxsee
} else {
TARGET = GPXSee
}
2023-05-22 23:28:50 +02:00
VERSION = 13.4
2015-10-05 01:43:48 +02:00
QT += core \
gui \
2020-12-22 22:32:07 +01:00
gui-private \
2018-09-20 07:59:47 +02:00
network \
2018-11-03 00:43:52 +01:00
sql \
concurrent \
widgets \
2021-12-04 15:05:30 +01:00
printsupport \
2022-05-28 14:05:14 +02:00
positioning \
svg \
serialport
greaterThan(QT_MAJOR_VERSION, 5) {
QT += openglwidgets \
core5compat
}
2021-04-10 15:27:40 +02:00
CONFIG += object_parallel_to_source
2017-11-26 18:54:03 +01:00
INCLUDEPATH += ./src
HEADERS += src/common/config.h \
2021-12-04 15:05:30 +01:00
src/GUI/crosshairitem.h \
src/GUI/motioninfoitem.h \
src/GUI/pluginparameters.h \
src/common/garmin.h \
2017-11-26 18:54:03 +01:00
src/common/coordinates.h \
src/common/hash.h \
2022-11-14 22:29:27 +01:00
src/common/linec.h \
2017-11-26 18:54:03 +01:00
src/common/range.h \
src/common/rectc.h \
src/common/textcodec.h \
src/common/treenode.h \
2017-11-26 18:54:03 +01:00
src/common/wgs84.h \
2018-10-11 18:19:35 +02:00
src/common/util.h \
2018-05-22 22:40:15 +02:00
src/common/rtree.h \
2018-09-30 12:16:41 +02:00
src/common/kv.h \
src/common/greatcircle.h \
src/common/programpaths.h \
2019-03-13 00:25:46 +01:00
src/common/tifffile.h \
src/common/downloader.h \
2021-09-17 23:45:12 +02:00
src/common/polygon.h \
2021-10-10 08:38:38 +02:00
src/common/color.h \
src/common/csv.h \
2021-09-17 23:45:12 +02:00
src/GUI/authenticationwidget.h \
src/GUI/axislabelitem.h \
src/GUI/dirselectwidget.h \
src/GUI/flowlayout.h \
src/GUI/graphicsscene.h \
src/GUI/infolabel.h \
src/GUI/mapaction.h \
src/GUI/mapitem.h \
src/GUI/marginswidget.h \
src/GUI/markerinfoitem.h \
src/GUI/planeitem.h \
src/GUI/poiaction.h \
src/GUI/popup.h \
src/GUI/thumbnail.h \
2017-11-26 18:54:03 +01:00
src/GUI/app.h \
src/GUI/icons.h \
src/GUI/gui.h \
src/GUI/axisitem.h \
src/GUI/keys.h \
src/GUI/slideritem.h \
src/GUI/markeritem.h \
src/GUI/infoitem.h \
src/GUI/elevationgraph.h \
src/GUI/speedgraph.h \
src/GUI/sliderinfoitem.h \
src/GUI/filebrowser.h \
src/GUI/units.h \
src/GUI/scaleitem.h \
src/GUI/graphview.h \
src/GUI/waypointitem.h \
src/GUI/palette.h \
src/GUI/heartrategraph.h \
src/GUI/trackinfo.h \
src/GUI/fileselectwidget.h \
src/GUI/temperaturegraph.h \
src/GUI/graphtab.h \
src/GUI/trackitem.h \
src/GUI/tooltip.h \
src/GUI/routeitem.h \
src/GUI/graphitem.h \
src/GUI/pathitem.h \
src/GUI/griditem.h \
src/GUI/format.h \
src/GUI/cadencegraph.h \
src/GUI/powergraph.h \
src/GUI/gearratiograph.h \
2017-11-26 18:54:03 +01:00
src/GUI/optionsdialog.h \
src/GUI/colorbox.h \
src/GUI/stylecombobox.h \
src/GUI/timetype.h \
src/GUI/percentslider.h \
src/GUI/elevationgraphitem.h \
src/GUI/speedgraphitem.h \
src/GUI/heartrategraphitem.h \
src/GUI/temperaturegraphitem.h \
src/GUI/cadencegraphitem.h \
src/GUI/powergraphitem.h \
src/GUI/gearratiographitem.h \
2017-11-26 18:54:03 +01:00
src/GUI/oddspinbox.h \
src/GUI/settings.h \
src/GUI/searchpointer.h \
src/GUI/mapview.h \
src/GUI/font.h \
2019-02-11 23:28:08 +01:00
src/GUI/areaitem.h \
2021-09-17 23:45:12 +02:00
src/GUI/coordinatesitem.h \
src/GUI/projectioncombobox.h \
src/GUI/pathtickitem.h \
src/GUI/pdfexportdialog.h \
src/GUI/pngexportdialog.h \
src/GUI/timezoneinfo.h \
src/GUI/passwordedit.h \
src/data/style.h \
src/data/twonavparser.h \
2022-11-04 22:47:21 +01:00
src/map/ENC/attributes.h \
2022-11-04 09:03:36 +01:00
src/map/ENC/mapdata.h \
src/map/ENC/objects.h \
src/map/ENC/rastertile.h \
src/map/ENC/style.h \
2022-03-25 19:28:32 +01:00
src/map/IMG/section.h \
src/map/IMG/zoom.h \
src/map/conversion.h \
2022-11-04 09:03:36 +01:00
src/map/encmap.h \
src/map/ENC/iso8211.h \
2022-07-15 21:24:49 +02:00
src/map/gemfmap.h \
2022-08-04 00:06:36 +02:00
src/map/oruxmap.h \
2022-07-05 11:32:14 +02:00
src/map/osmdroidmap.h \
2021-09-17 23:45:12 +02:00
src/map/proj/polyconic.h \
src/map/proj/webmercator.h \
src/map/proj/transversemercator.h \
src/map/proj/latlon.h \
src/map/proj/lambertconic.h \
src/map/proj/lambertazimuthal.h \
src/map/proj/albersequal.h \
src/map/proj/mercator.h \
src/map/proj/krovak.h \
src/map/proj/polarstereographic.h \
src/map/proj/obliquestereographic.h \
2022-11-04 09:03:36 +01:00
src/map/bitmapline.h \
src/map/IMG/bitstream.h \
src/map/IMG/deltastream.h \
2021-04-10 15:27:40 +02:00
src/map/IMG/gmapdata.h \
src/map/IMG/huffmanbuffer.h \
src/map/IMG/huffmanstream.h \
src/map/IMG/huffmantable.h \
src/map/IMG/huffmantext.h \
src/map/IMG/nodfile.h \
2020-02-09 23:24:48 +01:00
src/map/IMG/mapdata.h \
src/map/IMG/raster.h \
2020-04-26 01:17:54 +02:00
src/map/IMG/rastertile.h \
2021-04-10 15:27:40 +02:00
src/map/IMG/shield.h \
2021-09-17 23:45:12 +02:00
src/map/IMG/imgdata.h \
src/map/IMG/subfile.h \
src/map/IMG/trefile.h \
src/map/IMG/rgnfile.h \
src/map/IMG/lblfile.h \
src/map/IMG/vectortile.h \
src/map/IMG/subdiv.h \
src/map/IMG/style.h \
src/map/IMG/netfile.h \
src/map/IMG/label.h \
2021-04-10 15:27:40 +02:00
src/map/mapsforge/style.h \
src/map/mapsforge/mapdata.h \
src/map/mapsforge/rastertile.h \
src/map/mapsforge/subfile.h \
2021-11-14 15:08:33 +01:00
src/map/qctmap.h \
2021-09-17 23:45:12 +02:00
src/map/textpathitem.h \
src/map/textpointitem.h \
src/map/prjfile.h \
2020-11-27 01:11:50 +01:00
src/map/bsbmap.h \
src/map/invalidmap.h \
2020-12-22 22:32:07 +01:00
src/map/kmzmap.h \
2017-11-26 18:54:03 +01:00
src/map/projection.h \
src/map/ellipsoid.h \
src/map/datum.h \
src/map/sqlitemap.h \
2017-11-26 18:54:03 +01:00
src/map/utm.h \
src/map/map.h \
src/map/maplist.h \
src/map/onlinemap.h \
src/map/tile.h \
src/map/emptymap.h \
src/map/ozimap.h \
2017-11-26 18:54:03 +01:00
src/map/tar.h \
src/map/ozf.h \
src/map/atlas.h \
src/map/matrix.h \
2018-01-08 23:47:45 +01:00
src/map/geotiff.h \
src/map/pcs.h \
src/map/transform.h \
src/map/mapfile.h \
src/map/gcs.h \
src/map/angularunits.h \
src/map/primemeridian.h \
src/map/linearunits.h \
src/map/ct.h \
src/map/mapsource.h \
src/map/tileloader.h \
2021-06-17 21:58:25 +02:00
src/map/wldfile.h \
src/map/wmtsmap.h \
src/map/wmts.h \
src/map/wmsmap.h \
src/map/wms.h \
src/map/crs.h \
src/map/coordinatesystem.h \
src/map/pointd.h \
src/map/rectd.h \
src/map/geocentric.h \
src/map/jnxmap.h \
src/map/geotiffmap.h \
src/map/image.h \
src/map/mbtilesmap.h \
src/map/osm.h \
2021-09-17 23:45:12 +02:00
src/map/rmap.h \
src/map/calibrationpoint.h \
src/map/textitem.h \
src/map/aqmmap.h \
src/map/mapsforgemap.h \
src/map/worldfilemap.h \
src/map/imgmap.h \
src/data/itnparser.h \
src/data/link.h \
src/data/onmoveparsers.h \
src/data/ov2parser.h \
2017-11-26 18:54:03 +01:00
src/data/graph.h \
src/data/poi.h \
src/data/waypoint.h \
src/data/track.h \
src/data/route.h \
src/data/trackpoint.h \
src/data/data.h \
src/data/parser.h \
src/data/trackdata.h \
src/data/routedata.h \
src/data/path.h \
src/data/gpxparser.h \
src/data/tcxparser.h \
src/data/csvparser.h \
src/data/kmlparser.h \
src/data/fitparser.h \
src/data/igcparser.h \
src/data/nmeaparser.h \
src/data/oziparsers.h \
2018-08-10 22:46:04 +02:00
src/data/locparser.h \
src/data/slfparser.h \
src/data/dem.h \
src/data/demloader.h \
src/data/area.h \
2019-03-15 19:39:52 +01:00
src/data/exifparser.h \
2019-10-25 22:30:12 +02:00
src/data/cupparser.h \
2019-11-08 21:00:59 +01:00
src/data/gpiparser.h \
src/data/address.h \
2020-09-27 00:34:38 +02:00
src/data/smlparser.h \
2021-09-17 23:45:12 +02:00
src/data/geojsonparser.h
2015-10-05 01:43:48 +02:00
SOURCES += src/main.cpp \
2021-12-04 15:05:30 +01:00
src/GUI/crosshairitem.cpp \
src/GUI/motioninfoitem.cpp \
src/GUI/pluginparameters.cpp \
src/GUI/settings.cpp \
2021-09-17 23:45:12 +02:00
src/common/coordinates.cpp \
src/common/rectc.cpp \
src/common/range.cpp \
src/common/textcodec.cpp \
src/common/util.cpp \
src/common/greatcircle.cpp \
src/common/programpaths.cpp \
src/common/tifffile.cpp \
src/common/downloader.cpp \
src/common/csv.cpp \
src/GUI/authenticationwidget.cpp \
src/GUI/axislabelitem.cpp \
src/GUI/dirselectwidget.cpp \
src/GUI/flowlayout.cpp \
src/GUI/infolabel.cpp \
2020-12-02 23:58:11 +01:00
src/GUI/mapitem.cpp \
2020-10-06 21:41:23 +02:00
src/GUI/marginswidget.cpp \
src/GUI/markerinfoitem.cpp \
src/GUI/popup.cpp \
src/GUI/thumbnail.cpp \
2017-11-26 18:54:03 +01:00
src/GUI/app.cpp \
src/GUI/gui.cpp \
src/GUI/axisitem.cpp \
src/GUI/slideritem.cpp \
src/GUI/markeritem.cpp \
src/GUI/infoitem.cpp \
src/GUI/elevationgraph.cpp \
src/GUI/speedgraph.cpp \
src/GUI/sliderinfoitem.cpp \
src/GUI/filebrowser.cpp \
src/GUI/scaleitem.cpp \
src/GUI/graphview.cpp \
src/GUI/waypointitem.cpp \
src/GUI/palette.cpp \
src/GUI/heartrategraph.cpp \
src/GUI/trackinfo.cpp \
src/GUI/fileselectwidget.cpp \
src/GUI/temperaturegraph.cpp \
src/GUI/trackitem.cpp \
src/GUI/routeitem.cpp \
src/GUI/graphitem.cpp \
src/GUI/pathitem.cpp \
src/GUI/griditem.cpp \
src/GUI/format.cpp \
src/GUI/cadencegraph.cpp \
src/GUI/powergraph.cpp \
src/GUI/gearratiograph.cpp \
2017-11-26 18:54:03 +01:00
src/GUI/optionsdialog.cpp \
src/GUI/colorbox.cpp \
src/GUI/stylecombobox.cpp \
src/GUI/oddspinbox.cpp \
src/GUI/percentslider.cpp \
src/GUI/elevationgraphitem.cpp \
src/GUI/speedgraphitem.cpp \
src/GUI/heartrategraphitem.cpp \
src/GUI/temperaturegraphitem.cpp \
src/GUI/cadencegraphitem.cpp \
src/GUI/powergraphitem.cpp \
src/GUI/gearratiographitem.cpp \
src/GUI/mapview.cpp \
2019-02-11 23:28:08 +01:00
src/GUI/areaitem.cpp \
2021-09-17 23:45:12 +02:00
src/GUI/coordinatesitem.cpp \
src/GUI/pathtickitem.cpp \
src/GUI/graphicsscene.cpp \
src/GUI/pdfexportdialog.cpp \
src/GUI/pngexportdialog.cpp \
src/GUI/projectioncombobox.cpp \
src/GUI/passwordedit.cpp \
src/data/twonavparser.cpp \
2022-11-04 09:03:36 +01:00
src/map/ENC/mapdata.cpp \
src/map/ENC/rastertile.cpp \
src/map/ENC/style.cpp \
src/map/conversion.cpp \
2022-11-04 09:03:36 +01:00
src/map/encmap.cpp \
src/map/ENC/iso8211.cpp \
2022-07-15 21:24:49 +02:00
src/map/gemfmap.cpp \
2022-08-04 00:06:36 +02:00
src/map/oruxmap.cpp \
2022-07-05 11:32:14 +02:00
src/map/osmdroidmap.cpp \
2021-09-17 23:45:12 +02:00
src/map/proj/polyconic.cpp \
src/map/proj/webmercator.cpp \
src/map/proj/transversemercator.cpp \
src/map/proj/lambertconic.cpp \
src/map/proj/albersequal.cpp \
src/map/proj/lambertazimuthal.cpp \
src/map/proj/mercator.cpp \
src/map/proj/krovak.cpp \
src/map/proj/polarstereographic.cpp \
src/map/proj/obliquestereographic.cpp \
2022-11-04 09:03:36 +01:00
src/map/bitmapline.cpp \
src/map/IMG/bitstream.cpp \
src/map/IMG/deltastream.cpp \
2021-04-10 15:27:40 +02:00
src/map/IMG/gmapdata.cpp \
src/map/IMG/huffmanbuffer.cpp \
src/map/IMG/huffmanstream.cpp \
src/map/IMG/huffmantable.cpp \
src/map/IMG/huffmantext.cpp \
src/map/IMG/nodfile.cpp \
2020-02-09 23:24:48 +01:00
src/map/IMG/mapdata.cpp \
2020-04-26 01:17:54 +02:00
src/map/IMG/rastertile.cpp \
2021-09-17 23:45:12 +02:00
src/map/IMG/imgdata.cpp \
src/map/IMG/subfile.cpp \
src/map/IMG/trefile.cpp \
src/map/IMG/rgnfile.cpp \
src/map/IMG/lblfile.cpp \
src/map/IMG/vectortile.cpp \
src/map/IMG/style.cpp \
src/map/IMG/netfile.cpp \
2021-04-10 15:27:40 +02:00
src/map/mapsforge/style.cpp \
src/map/mapsforge/mapdata.cpp \
src/map/mapsforge/rastertile.cpp \
src/map/mapsforge/subfile.cpp \
2021-09-17 23:45:12 +02:00
src/map/imgmap.cpp \
src/map/prjfile.cpp \
2021-11-14 15:08:33 +01:00
src/map/qctmap.cpp \
2021-09-17 23:45:12 +02:00
src/map/textpathitem.cpp \
src/map/textpointitem.cpp \
2020-11-27 01:11:50 +01:00
src/map/bsbmap.cpp \
2020-12-22 22:32:07 +01:00
src/map/kmzmap.cpp \
2017-11-26 18:54:03 +01:00
src/map/maplist.cpp \
src/map/onlinemap.cpp \
src/map/emptymap.cpp \
src/map/ozimap.cpp \
src/map/sqlitemap.cpp \
2017-11-26 18:54:03 +01:00
src/map/tar.cpp \
src/map/atlas.cpp \
src/map/ozf.cpp \
src/map/matrix.cpp \
src/map/ellipsoid.cpp \
src/map/datum.cpp \
src/map/utm.cpp \
2018-01-08 23:47:45 +01:00
src/map/geotiff.cpp \
src/map/pcs.cpp \
src/map/transform.cpp \
src/map/mapfile.cpp \
src/map/projection.cpp \
src/map/gcs.cpp \
src/map/angularunits.cpp \
src/map/primemeridian.cpp \
src/map/linearunits.cpp \
2018-02-20 23:37:19 +01:00
src/map/mapsource.cpp \
src/map/tileloader.cpp \
2021-06-17 21:58:25 +02:00
src/map/wldfile.cpp \
2018-02-20 23:37:19 +01:00
src/map/wmtsmap.cpp \
src/map/wmts.cpp \
src/map/wmsmap.cpp \
src/map/wms.cpp \
src/map/crs.cpp \
src/map/coordinatesystem.cpp \
src/map/geocentric.cpp \
src/map/jnxmap.cpp \
src/map/map.cpp \
src/map/geotiffmap.cpp \
src/map/image.cpp \
src/map/mbtilesmap.cpp \
src/map/osm.cpp \
2019-02-11 23:28:08 +01:00
src/map/rectd.cpp \
2021-09-17 23:45:12 +02:00
src/map/rmap.cpp \
src/map/textitem.cpp \
src/map/aqmmap.cpp \
src/map/mapsforgemap.cpp \
src/map/worldfilemap.cpp \
src/data/address.cpp \
src/data/itnparser.cpp \
src/data/onmoveparsers.cpp \
src/data/ov2parser.cpp \
src/data/waypoint.cpp \
src/data/data.cpp \
src/data/poi.cpp \
src/data/track.cpp \
src/data/route.cpp \
src/data/path.cpp \
src/data/gpxparser.cpp \
src/data/tcxparser.cpp \
src/data/csvparser.cpp \
src/data/kmlparser.cpp \
src/data/fitparser.cpp \
src/data/igcparser.cpp \
src/data/nmeaparser.cpp \
src/data/oziparsers.cpp \
2018-08-10 22:46:04 +02:00
src/data/locparser.cpp \
src/data/slfparser.cpp \
src/data/dem.cpp \
src/data/demloader.cpp \
2019-05-10 18:56:19 +02:00
src/data/exifparser.cpp \
2019-10-16 19:22:55 +02:00
src/data/cupparser.cpp \
src/data/gpiparser.cpp \
2020-09-27 00:34:38 +02:00
src/data/smlparser.cpp \
2021-09-17 23:45:12 +02:00
src/data/geojsonparser.cpp
2019-01-25 22:18:21 +01:00
DEFINES += APP_VERSION=\\\"$$VERSION\\\" \
QT_NO_DEPRECATED_WARNINGS
2015-10-05 01:43:48 +02:00
RESOURCES += gpxsee.qrc
TRANSLATIONS = lang/gpxsee_en.ts \
lang/gpxsee_cs.ts \
2017-04-17 20:56:56 +02:00
lang/gpxsee_sv.ts \
2018-01-08 23:57:33 +01:00
lang/gpxsee_de.ts \
2018-01-11 10:34:00 +01:00
lang/gpxsee_ru.ts \
lang/gpxsee_fi.ts \
lang/gpxsee_fr.ts \
2018-10-02 22:02:07 +02:00
lang/gpxsee_pl.ts \
2018-10-09 00:01:18 +02:00
lang/gpxsee_nb.ts \
2018-11-22 22:59:31 +01:00
lang/gpxsee_da.ts \
2019-01-21 00:01:07 +01:00
lang/gpxsee_tr.ts \
2019-02-16 19:54:50 +01:00
lang/gpxsee_es.ts \
2019-11-05 21:59:01 +01:00
lang/gpxsee_pt_BR.ts \
2020-01-28 22:02:16 +01:00
lang/gpxsee_uk.ts \
lang/gpxsee_hu.ts \
2020-12-27 19:39:41 +01:00
lang/gpxsee_it.ts \
2021-09-24 20:14:59 +02:00
lang/gpxsee_eo.ts \
2022-09-06 09:31:27 +02:00
lang/gpxsee_zh.ts \
2023-01-23 23:48:00 +01:00
lang/gpxsee_ca.ts \
lang/gpxsee_ko.ts
2016-04-29 22:49:37 +02:00
macx {
ICON = icons/app/gpxsee.icns
QMAKE_INFO_PLIST = pkg/mac/Info.plist
locale.path = Contents/Resources/translations
2021-10-10 10:48:59 +02:00
locale.files = $$files(lang/*.qm)
crs.path = Contents/Resources
crs.files = data/CRS
maps.path = Contents/Resources
2023-01-26 01:51:46 +01:00
maps.files = data/maps
2021-10-10 08:38:38 +02:00
symbols.path = Contents/Resources/symbols
2021-10-10 10:48:59 +02:00
symbols.files = $$files(icons/symbols/*.png)
icons.path = Contents/Resources/icons
2021-10-10 10:48:59 +02:00
icons.files = $$files(icons/formats/*.icns)
lproj.path = Contents/Resources
lproj.files = $$files(pkg/mac/lproj/*)
2021-10-10 08:38:38 +02:00
QMAKE_BUNDLE_DATA += locale maps symbols icons crs lproj
2016-05-02 22:21:57 +02:00
}
2016-05-02 22:21:57 +02:00
win32 {
2021-10-10 12:44:49 +02:00
RC_ICONS = icons/app/gpxsee.ico \
icons/formats/gpx.ico \
icons/formats/tcx.ico \
icons/formats/kml.ico \
icons/formats/fit.ico \
icons/formats/igc.ico \
icons/formats/nmea.ico \
icons/formats/plt.ico \
icons/formats/rte.ico \
icons/formats/wpt.ico \
icons/formats/loc.ico \
icons/formats/slf.ico \
icons/formats/json.ico \
icons/formats/cup.ico \
icons/formats/gpi.ico \
icons/formats/sml.ico \
icons/formats/img.ico \
icons/formats/jnx.ico \
icons/formats/kap.ico \
icons/formats/map.ico \
icons/formats/mbts.ico \
icons/formats/rmap.ico \
icons/formats/tba.ico \
icons/formats/aqm.ico \
icons/formats/sqlt.ico \
icons/formats/ov2.ico \
icons/formats/itn.ico \
icons/formats/wld.ico \
icons/formats/omd.ico \
2021-11-14 15:54:41 +01:00
icons/formats/ghp.ico \
2022-01-01 21:06:33 +01:00
icons/formats/qct.ico \
2022-07-31 13:22:33 +02:00
icons/formats/trk.ico \
icons/formats/gemf.ico \
icons/formats/000.ico
2019-02-03 16:34:33 +01:00
DEFINES += _USE_MATH_DEFINES \
NOGDI
2016-04-29 22:49:37 +02:00
}
2022-05-28 14:05:14 +02:00
unix:!macx:!android {
2019-01-26 09:34:21 +01:00
isEmpty(PREFIX):PREFIX = /usr/local
2023-01-26 01:51:46 +01:00
maps.files = $$files(data/maps/*)
2019-01-26 09:34:21 +01:00
maps.path = $$PREFIX/share/gpxsee/maps
crs.files = $$files(data/CRS/*)
crs.path = $$PREFIX/share/gpxsee/CRS
2021-10-10 10:48:59 +02:00
symbols.files = $$files(icons/symbols/*.png)
2021-10-10 08:38:38 +02:00
symbols.path = $$PREFIX/share/gpxsee/symbols
2021-10-10 10:48:59 +02:00
locale.files = $$files(lang/*.qm)
2019-01-26 09:34:21 +01:00
locale.path = $$PREFIX/share/gpxsee/translations
icon.files = $$files(icons/app/hicolor/*)
icon.path = $$PREFIX/share/icons/hicolor
desktop.files = pkg/linux/gpxsee.desktop
2019-01-26 09:34:21 +01:00
desktop.path = $$PREFIX/share/applications
mime.files = pkg/linux/gpxsee.xml
2019-01-26 09:34:21 +01:00
mime.path = $$PREFIX/share/mime/packages
appdata.files = pkg/linux/gpxsee.appdata.xml
appdata.path = $$PREFIX/share/metainfo
2019-01-26 09:34:21 +01:00
target.path = $$PREFIX/bin
INSTALLS += target maps crs symbols locale icon desktop mime appdata
}
2022-05-28 14:05:14 +02:00
android {
2023-02-25 11:05:38 +01:00
HEADERS += src/GUI/navigationwidget.h
SOURCES += src/GUI/navigationwidget.cpp
2022-05-28 14:05:14 +02:00
defineReplace(versionCode) {
segments = $$split(1, ".")
for (segment, segments): \
vCode = "$$first(vCode)$$format_number($$segment, width=3 zeropad)"
contains(ANDROID_TARGET_ARCH, armeabi-v7a): \
suffix = 0
contains(ANDROID_TARGET_ARCH, arm64-v8a): \
suffix = 1
contains(ANDROID_TARGET_ARCH, x86): \
suffix = 2
contains(ANDROID_TARGET_ARCH, x86_64): \
suffix = 3
return($$first(vCode)$$first(suffix))
}
2022-06-04 14:12:54 +02:00
!include($$OPENSSL_PATH/openssl.pri) {
message("OpenSSL not found, building without HTTPS support!")
}
2022-05-28 14:05:14 +02:00
2022-10-08 19:14:19 +02:00
ANDROID_TARGET_SDK_VERSION = 31
2022-05-28 14:05:14 +02:00
ANDROID_VERSION_NAME = $$VERSION
ANDROID_VERSION_CODE = $$versionCode($$ANDROID_VERSION_NAME)
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/pkg/android
DISTFILES += \
pkg/android/AndroidManifest.xml \
pkg/android/build.gradle \
pkg/android/res/values/libs.xml
2023-01-26 01:51:46 +01:00
maps.files = $$files(data/maps/*)
2022-05-28 14:05:14 +02:00
maps.path = /assets/maps
crs.files = $$files(data/CRS/*)
crs.path = /assets/CRS
2022-05-28 14:05:14 +02:00
symbols.files = $$files(icons/symbols/*.png)
symbols.path = /assets/symbols
2022-07-06 19:43:56 +02:00
translations.files = $$files(lang/*.qm)
translations.path = /assets/translations
INSTALLS += maps crs symbols translations
2022-05-28 14:05:14 +02:00
}