Translation sources update
[GPXSee.git] / gpxsee.pro
blobfb50737543b6308a0b570aee185ef9ee2ac8167a
1 TARGET = GPXSee
2 VERSION = 6.0
4 QT += core \
5 gui \
6 network \
7 sql
8 greaterThan(QT_MAJOR_VERSION, 4) {
9 QT += widgets
10 QT += printsupport
12 lessThan(QT_MAJOR_VERSION, 5) {QT += opengl}
13 equals(QT_MAJOR_VERSION, 5) : lessThan(QT_MINOR_VERSION, 4) {QT += opengl}
15 INCLUDEPATH += ./src
16 HEADERS += src/config.h \
17 src/common/staticassert.h \
18 src/common/coordinates.h \
19 src/common/range.h \
20 src/common/rectc.h \
21 src/common/wgs84.h \
22 src/common/str2int.h \
23 src/common/rtree.h \
24 src/GUI/app.h \
25 src/GUI/icons.h \
26 src/GUI/gui.h \
27 src/GUI/axisitem.h \
28 src/GUI/keys.h \
29 src/GUI/slideritem.h \
30 src/GUI/markeritem.h \
31 src/GUI/infoitem.h \
32 src/GUI/elevationgraph.h \
33 src/GUI/speedgraph.h \
34 src/GUI/sliderinfoitem.h \
35 src/GUI/filebrowser.h \
36 src/GUI/units.h \
37 src/GUI/scaleitem.h \
38 src/GUI/graphview.h \
39 src/GUI/waypointitem.h \
40 src/GUI/palette.h \
41 src/GUI/heartrategraph.h \
42 src/GUI/trackinfo.h \
43 src/GUI/exportdialog.h \
44 src/GUI/fileselectwidget.h \
45 src/GUI/margins.h \
46 src/GUI/temperaturegraph.h \
47 src/GUI/graphtab.h \
48 src/GUI/trackitem.h \
49 src/GUI/tooltip.h \
50 src/GUI/routeitem.h \
51 src/GUI/graphitem.h \
52 src/GUI/pathitem.h \
53 src/GUI/griditem.h \
54 src/GUI/format.h \
55 src/GUI/cadencegraph.h \
56 src/GUI/powergraph.h \
57 src/GUI/gearratiograph.h \
58 src/GUI/optionsdialog.h \
59 src/GUI/colorbox.h \
60 src/GUI/stylecombobox.h \
61 src/GUI/opengl.h \
62 src/GUI/timetype.h \
63 src/GUI/percentslider.h \
64 src/GUI/elevationgraphitem.h \
65 src/GUI/speedgraphitem.h \
66 src/GUI/heartrategraphitem.h \
67 src/GUI/temperaturegraphitem.h \
68 src/GUI/cadencegraphitem.h \
69 src/GUI/powergraphitem.h \
70 src/GUI/gearratiographitem.h \
71 src/GUI/oddspinbox.h \
72 src/GUI/settings.h \
73 src/GUI/nicenum.h \
74 src/GUI/cpuarch.h \
75 src/GUI/searchpointer.h \
76 src/GUI/mapview.h \
77 src/map/projection.h \
78 src/map/ellipsoid.h \
79 src/map/datum.h \
80 src/map/webmercator.h \
81 src/map/transversemercator.h \
82 src/map/latlon.h \
83 src/map/utm.h \
84 src/map/lambertconic.h \
85 src/map/lambertazimuthal.h \
86 src/map/albersequal.h \
87 src/map/map.h \
88 src/map/maplist.h \
89 src/map/onlinemap.h \
90 src/map/downloader.h \
91 src/map/tile.h \
92 src/map/emptymap.h \
93 src/map/ozimap.h \
94 src/map/tar.h \
95 src/map/ozf.h \
96 src/map/atlas.h \
97 src/map/matrix.h \
98 src/map/geotiff.h \
99 src/map/pcs.h \
100 src/map/transform.h \
101 src/map/mapfile.h \
102 src/map/tifffile.h \
103 src/map/gcs.h \
104 src/map/angularunits.h \
105 src/map/primemeridian.h \
106 src/map/linearunits.h \
107 src/map/ct.h \
108 src/map/mapsource.h \
109 src/map/tileloader.h \
110 src/map/wmtsmap.h \
111 src/map/wmts.h \
112 src/map/wmsmap.h \
113 src/map/wms.h \
114 src/map/crs.h \
115 src/map/coordinatesystem.h \
116 src/map/pointd.h \
117 src/data/graph.h \
118 src/data/poi.h \
119 src/data/waypoint.h \
120 src/data/track.h \
121 src/data/route.h \
122 src/data/trackpoint.h \
123 src/data/data.h \
124 src/data/parser.h \
125 src/data/trackdata.h \
126 src/data/routedata.h \
127 src/data/path.h \
128 src/data/gpxparser.h \
129 src/data/tcxparser.h \
130 src/data/csvparser.h \
131 src/data/kmlparser.h \
132 src/data/fitparser.h \
133 src/data/igcparser.h \
134 src/data/nmeaparser.h \
135 src/data/oziparsers.h \
136 src/map/rectd.h \
137 src/map/geocentric.h \
138 src/map/mercator.h \
139 src/map/jnxmap.h \
140 src/map/krovak.h \
141 src/GUI/kv.h \
142 src/data/locparser.h \
143 src/data/slfparser.h \
144 src/map/geotiffmap.h \
145 src/map/image.h \
146 src/common/greatcircle.h \
147 src/map/mbtilesmap.h \
148 src/map/osm.h
149 SOURCES += src/main.cpp \
150 src/common/coordinates.cpp \
151 src/common/rectc.cpp \
152 src/common/range.cpp \
153 src/common/str2int.cpp \
154 src/GUI/app.cpp \
155 src/GUI/gui.cpp \
156 src/GUI/axisitem.cpp \
157 src/GUI/slideritem.cpp \
158 src/GUI/markeritem.cpp \
159 src/GUI/infoitem.cpp \
160 src/GUI/elevationgraph.cpp \
161 src/GUI/speedgraph.cpp \
162 src/GUI/sliderinfoitem.cpp \
163 src/GUI/filebrowser.cpp \
164 src/GUI/scaleitem.cpp \
165 src/GUI/graphview.cpp \
166 src/GUI/waypointitem.cpp \
167 src/GUI/palette.cpp \
168 src/GUI/heartrategraph.cpp \
169 src/GUI/trackinfo.cpp \
170 src/GUI/exportdialog.cpp \
171 src/GUI/fileselectwidget.cpp \
172 src/GUI/temperaturegraph.cpp \
173 src/GUI/trackitem.cpp \
174 src/GUI/tooltip.cpp \
175 src/GUI/routeitem.cpp \
176 src/GUI/graphitem.cpp \
177 src/GUI/pathitem.cpp \
178 src/GUI/griditem.cpp \
179 src/GUI/format.cpp \
180 src/GUI/cadencegraph.cpp \
181 src/GUI/powergraph.cpp \
182 src/GUI/gearratiograph.cpp \
183 src/GUI/optionsdialog.cpp \
184 src/GUI/colorbox.cpp \
185 src/GUI/stylecombobox.cpp \
186 src/GUI/oddspinbox.cpp \
187 src/GUI/percentslider.cpp \
188 src/GUI/elevationgraphitem.cpp \
189 src/GUI/speedgraphitem.cpp \
190 src/GUI/heartrategraphitem.cpp \
191 src/GUI/temperaturegraphitem.cpp \
192 src/GUI/cadencegraphitem.cpp \
193 src/GUI/powergraphitem.cpp \
194 src/GUI/gearratiographitem.cpp \
195 src/GUI/nicenum.cpp \
196 src/GUI/mapview.cpp \
197 src/map/maplist.cpp \
198 src/map/onlinemap.cpp \
199 src/map/downloader.cpp \
200 src/map/emptymap.cpp \
201 src/map/ozimap.cpp \
202 src/map/tar.cpp \
203 src/map/atlas.cpp \
204 src/map/ozf.cpp \
205 src/map/matrix.cpp \
206 src/map/ellipsoid.cpp \
207 src/map/datum.cpp \
208 src/map/webmercator.cpp \
209 src/map/transversemercator.cpp \
210 src/map/utm.cpp \
211 src/map/lambertconic.cpp \
212 src/map/albersequal.cpp \
213 src/map/lambertazimuthal.cpp \
214 src/map/geotiff.cpp \
215 src/map/pcs.cpp \
216 src/map/transform.cpp \
217 src/map/mapfile.cpp \
218 src/map/tifffile.cpp \
219 src/map/projection.cpp \
220 src/map/gcs.cpp \
221 src/map/angularunits.cpp \
222 src/map/primemeridian.cpp \
223 src/map/linearunits.cpp \
224 src/map/mapsource.cpp \
225 src/map/tileloader.cpp \
226 src/map/wmtsmap.cpp \
227 src/map/wmts.cpp \
228 src/map/wmsmap.cpp \
229 src/map/wms.cpp \
230 src/map/crs.cpp \
231 src/map/coordinatesystem.cpp \
232 src/data/data.cpp \
233 src/data/poi.cpp \
234 src/data/track.cpp \
235 src/data/route.cpp \
236 src/data/path.cpp \
237 src/data/gpxparser.cpp \
238 src/data/tcxparser.cpp \
239 src/data/csvparser.cpp \
240 src/data/kmlparser.cpp \
241 src/data/fitparser.cpp \
242 src/data/igcparser.cpp \
243 src/data/nmeaparser.cpp \
244 src/data/oziparsers.cpp \
245 src/map/geocentric.cpp \
246 src/map/mercator.cpp \
247 src/map/jnxmap.cpp \
248 src/map/krovak.cpp \
249 src/map/map.cpp \
250 src/data/locparser.cpp \
251 src/data/slfparser.cpp \
252 src/map/geotiffmap.cpp \
253 src/map/image.cpp \
254 src/common/greatcircle.cpp \
255 src/map/mbtilesmap.cpp \
256 src/map/osm.cpp
258 RESOURCES += gpxsee.qrc
259 TRANSLATIONS = lang/gpxsee_en.ts \
260 lang/gpxsee_cs.ts \
261 lang/gpxsee_sv.ts \
262 lang/gpxsee_de.ts \
263 lang/gpxsee_ru.ts \
264 lang/gpxsee_fi.ts \
265 lang/gpxsee_fr.ts \
266 lang/gpxsee_pl.ts
268 macx {
269 ICON = icons/gpxsee.icns
270 QMAKE_INFO_PLIST = pkg/Info.plist
271 LOCALE.path = Contents/Resources/translations
272 LOCALE.files = lang/gpxsee_en.qm \
273 lang/gpxsee_cs.qm \
274 lang/gpxsee_de.qm \
275 lang/gpxsee_fi.qm \
276 lang/gpxsee_fr.qm \
277 lang/gpxsee_ru.qm \
278 lang/gpxsee_sv.qm \
279 lang/gpxsee_pl.qm
280 CSV.path = Contents/Resources
281 CSV.files = pkg/csv
282 MAPS.path = Contents/Resources
283 MAPS.files = pkg/maps
284 ICONS.path = Contents/Resources/icons
285 ICONS.files = icons/gpx.icns \
286 icons/tcx.icns \
287 icons/kml.icns \
288 icons/fit.icns \
289 icons/igc.icns \
290 icons/nmea.icns \
291 icons/plt.icns \
292 icons/rte.icns \
293 icons/wpt.icns \
294 icons/loc.icns \
295 icons/slf.icns
296 QMAKE_BUNDLE_DATA += LOCALE MAPS ICONS CSV
298 win32 {
299 RC_ICONS = icons/gpxsee.ico \
300 icons/gpx.ico \
301 icons/tcx.ico \
302 icons/kml.ico \
303 icons/fit.ico \
304 icons/igc.ico \
305 icons/nmea.ico \
306 icons/plt.ico \
307 icons/rte.ico \
308 icons/wpt.ico \
309 icons/loc.ico \
310 icons/slf.ico
311 DEFINES += _USE_MATH_DEFINES
314 DEFINES += APP_VERSION=\\\"$$VERSION\\\"
315 DEFINES *= QT_USE_QSTRINGBUILDER