13 greaterThan(QT_MAJOR_VERSION
, 4) {
17 lessThan(QT_MAJOR_VERSION
, 5) {QT
+= opengl
}
18 equals(QT_MAJOR_VERSION
, 5) : lessThan(QT_MINOR_VERSION
, 4) {QT
+= opengl
}
21 HEADERS
+= src
/common
/config
.h \
22 src
/common
/staticassert
.h \
23 src
/common
/coordinates
.h \
30 src
/common
/greatcircle
.h \
31 src
/common
/programpaths
.h \
37 src
/GUI
/slideritem
.h \
38 src
/GUI
/markeritem
.h \
40 src
/GUI
/elevationgraph
.h \
41 src
/GUI
/speedgraph
.h \
42 src
/GUI
/sliderinfoitem
.h \
43 src
/GUI
/filebrowser
.h \
47 src
/GUI
/waypointitem
.h \
49 src
/GUI
/heartrategraph
.h \
51 src
/GUI
/exportdialog
.h \
52 src
/GUI
/fileselectwidget
.h \
54 src
/GUI
/temperaturegraph
.h \
63 src
/GUI
/cadencegraph
.h \
64 src
/GUI
/powergraph
.h \
65 src
/GUI
/gearratiograph
.h \
66 src
/GUI
/optionsdialog
.h \
68 src
/GUI
/stylecombobox
.h \
71 src
/GUI
/percentslider
.h \
72 src
/GUI
/elevationgraphitem
.h \
73 src
/GUI
/speedgraphitem
.h \
74 src
/GUI
/heartrategraphitem
.h \
75 src
/GUI
/temperaturegraphitem
.h \
76 src
/GUI
/cadencegraphitem
.h \
77 src
/GUI
/powergraphitem
.h \
78 src
/GUI
/gearratiographitem
.h \
79 src
/GUI
/oddspinbox
.h \
82 src
/GUI
/searchpointer
.h \
86 src
/map
/projection
.h \
89 src
/map
/webmercator
.h \
90 src
/map
/transversemercator
.h \
93 src
/map
/lambertconic
.h \
94 src
/map
/lambertazimuthal
.h \
95 src
/map
/albersequal
.h \
99 src
/map
/downloader
.h \
109 src
/map
/transform
.h \
113 src
/map
/angularunits
.h \
114 src
/map
/primemeridian
.h \
115 src
/map
/linearunits
.h \
117 src
/map
/mapsource
.h \
118 src
/map
/tileloader
.h \
124 src
/map
/coordinatesystem
.h \
127 src
/map
/geocentric
.h \
131 src
/map
/geotiffmap
.h \
133 src
/map
/mbtilesmap
.h \
135 src
/map
/polarstereographic
.h \
138 src
/data
/waypoint
.h \
141 src
/data
/trackpoint
.h \
144 src
/data
/trackdata
.h \
145 src
/data
/routedata
.h \
147 src
/data
/gpxparser
.h \
148 src
/data
/tcxparser
.h \
149 src
/data
/csvparser
.h \
150 src
/data
/kmlparser
.h \
151 src
/data
/fitparser
.h \
152 src
/data
/igcparser
.h \
153 src
/data
/nmeaparser
.h \
154 src
/data
/oziparsers
.h \
155 src
/data
/locparser
.h \
156 src
/data
/slfparser
.h \
160 src
/map
/obliquestereographic
.h
161 SOURCES
+= src
/main
.cpp \
162 src
/common
/coordinates
.cpp \
163 src
/common
/rectc
.cpp \
164 src
/common
/range
.cpp \
165 src
/common
/util
.cpp \
166 src
/common
/greatcircle
.cpp \
167 src
/common
/programpaths
.cpp \
170 src
/GUI
/axisitem
.cpp \
171 src
/GUI
/slideritem
.cpp \
172 src
/GUI
/markeritem
.cpp \
173 src
/GUI
/infoitem
.cpp \
174 src
/GUI
/elevationgraph
.cpp \
175 src
/GUI
/speedgraph
.cpp \
176 src
/GUI
/sliderinfoitem
.cpp \
177 src
/GUI
/filebrowser
.cpp \
178 src
/GUI
/scaleitem
.cpp \
179 src
/GUI
/graphview
.cpp \
180 src
/GUI
/waypointitem
.cpp \
181 src
/GUI
/palette
.cpp \
182 src
/GUI
/heartrategraph
.cpp \
183 src
/GUI
/trackinfo
.cpp \
184 src
/GUI
/exportdialog
.cpp \
185 src
/GUI
/fileselectwidget
.cpp \
186 src
/GUI
/temperaturegraph
.cpp \
187 src
/GUI
/trackitem
.cpp \
188 src
/GUI
/tooltip
.cpp \
189 src
/GUI
/routeitem
.cpp \
190 src
/GUI
/graphitem
.cpp \
191 src
/GUI
/pathitem
.cpp \
192 src
/GUI
/griditem
.cpp \
194 src
/GUI
/cadencegraph
.cpp \
195 src
/GUI
/powergraph
.cpp \
196 src
/GUI
/gearratiograph
.cpp \
197 src
/GUI
/optionsdialog
.cpp \
198 src
/GUI
/colorbox
.cpp \
199 src
/GUI
/stylecombobox
.cpp \
200 src
/GUI
/oddspinbox
.cpp \
201 src
/GUI
/percentslider
.cpp \
202 src
/GUI
/elevationgraphitem
.cpp \
203 src
/GUI
/speedgraphitem
.cpp \
204 src
/GUI
/heartrategraphitem
.cpp \
205 src
/GUI
/temperaturegraphitem
.cpp \
206 src
/GUI
/cadencegraphitem
.cpp \
207 src
/GUI
/powergraphitem
.cpp \
208 src
/GUI
/gearratiographitem
.cpp \
209 src
/GUI
/mapview
.cpp \
210 src
/GUI
/areaitem
.cpp \
211 src
/map
/maplist
.cpp \
212 src
/map
/onlinemap
.cpp \
213 src
/map
/downloader
.cpp \
214 src
/map
/emptymap
.cpp \
220 src
/map
/ellipsoid
.cpp \
222 src
/map
/webmercator
.cpp \
223 src
/map
/transversemercator
.cpp \
225 src
/map
/lambertconic
.cpp \
226 src
/map
/albersequal
.cpp \
227 src
/map
/lambertazimuthal
.cpp \
228 src
/map
/geotiff
.cpp \
230 src
/map
/transform
.cpp \
231 src
/map
/mapfile
.cpp \
232 src
/map
/tifffile
.cpp \
233 src
/map
/projection
.cpp \
235 src
/map
/angularunits
.cpp \
236 src
/map
/primemeridian
.cpp \
237 src
/map
/linearunits
.cpp \
238 src
/map
/mapsource
.cpp \
239 src
/map
/tileloader
.cpp \
240 src
/map
/wmtsmap
.cpp \
245 src
/map
/coordinatesystem
.cpp \
246 src
/map
/geocentric
.cpp \
247 src
/map
/mercator
.cpp \
251 src
/map
/geotiffmap
.cpp \
253 src
/map
/mbtilesmap
.cpp \
255 src
/map
/polarstereographic
.cpp \
262 src
/data
/gpxparser
.cpp \
263 src
/data
/tcxparser
.cpp \
264 src
/data
/csvparser
.cpp \
265 src
/data
/kmlparser
.cpp \
266 src
/data
/fitparser
.cpp \
267 src
/data
/igcparser
.cpp \
268 src
/data
/nmeaparser
.cpp \
269 src
/data
/oziparsers
.cpp \
270 src
/data
/locparser
.cpp \
271 src
/data
/slfparser
.cpp \
273 src
/data
/polygon
.cpp \
274 src
/map
/obliquestereographic
.cpp
276 greaterThan(QT_MAJOR_VERSION
, 4) {
277 HEADERS
+= src
/data
/geojsonparser
.h
278 SOURCES
+= src
/data
/geojsonparser
.cpp
281 DEFINES
+= APP_VERSION
=\\\"$$VERSION
\\\"
282 DEFINES
*= QT_USE_QSTRINGBUILDER
284 RESOURCES
+= gpxsee
.qrc
285 TRANSLATIONS
= lang
/gpxsee_en
.ts \
299 ICON
= icons
/gpxsee
.icns
300 QMAKE_INFO_PLIST
= pkg
/Info
.plist
301 locale
.path
= Contents
/Resources
/translations
302 locale
.files
= lang
/gpxsee_en
.qm \
314 csv
.path
= Contents
/Resources
316 maps
.path
= Contents
/Resources
317 maps
.files
= pkg
/maps
318 icons
.path
= Contents
/Resources
/icons
319 icons
.files
= icons
/formats
/gpx
.icns \
320 icons
/formats
/tcx
.icns \
321 icons
/formats
/kml
.icns \
322 icons
/formats
/fit
.icns \
323 icons
/formats
/igc
.icns \
324 icons
/formats
/nmea
.icns \
325 icons
/formats
/plt
.icns \
326 icons
/formats
/rte
.icns \
327 icons
/formats
/wpt
.icns \
328 icons
/formats
/loc
.icns \
329 icons
/formats
/slf
.icns \
330 icons
/formats
/json
.icns
331 QMAKE_BUNDLE_DATA
+= locale maps icons csv
335 RC_ICONS
= icons
/gpxsee
.ico \
336 icons
/formats
/gpx
.ico \
337 icons
/formats
/tcx
.ico \
338 icons
/formats
/kml
.ico \
339 icons
/formats
/fit
.ico \
340 icons
/formats
/igc
.ico \
341 icons
/formats
/nmea
.ico \
342 icons
/formats
/plt
.ico \
343 icons
/formats
/rte
.ico \
344 icons
/formats
/wpt
.ico \
345 icons
/formats
/loc
.ico \
346 icons
/formats
/slf
.ico \
347 icons
/formats
/json
.ico
348 DEFINES
+= _USE_MATH_DEFINES \
353 isEmpty(PREFIX
):PREFIX
= /usr
/local
355 maps
.files
= pkg
/maps
/*
356 maps.path = $$PREFIX/share/gpxsee/maps
357 csv.files = pkg/csv/*
358 csv.path = $$PREFIX/share/gpxsee/csv
359 locale.files = lang/*.qm
360 locale.path = $$PREFIX/share/gpxsee/translations
361 icon.files = icons/gpxsee.png
362 icon.path = $$PREFIX/share/pixmaps
363 desktop.files = pkg/gpxsee.desktop
364 desktop.path = $$PREFIX/share/applications
365 mime.files = pkg/gpxsee.xml
366 mime.path = $$PREFIX/share/mime/packages
367 target.path = $$PREFIX/bin
368 INSTALLS += target maps csv locale icon desktop mime