forked from OpenHD/QOpenHD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
QOpenHD.pro
executable file
·631 lines (518 loc) · 17.4 KB
/
QOpenHD.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
BASEDIR = $$IN_PWD
LANGUAGE = C++
CONFIG += c++17
CONFIG+=sdk_no_version_check
TRANSLATIONS = translations/QOpenHD_en.ts \
translations/QOpenHD_de.ts \
translations/QOpenHD_ru.ts \
translations/QOpenHD_nl.ts \
translations/QOpenHD_es.ts \
translations/QOpenHD_fr.ts \
translations/QOpenHD_zh.ts \
translations/QOpenHD_it.ts \
translations/QOpenHD_ro.ts
include(platforms.pri)
include(git.pri)
include ($$PWD/lib/SortFilterProxyModel/SortFilterProxyModel.pri)
CONFIG(debug, debug|release) {
DESTDIR = $${OUT_PWD}/debug
CONFIG += debug
DEFINES += QMLJSDEBUGGER
} else:CONFIG(release, debug|release) {
DEFINES += QT_NO_DEBUG
CONFIG += installer
CONFIG += force_debug_info
DESTDIR = $${OUT_PWD}/release
DEFINES += QMLJSDEBUGGER
}
CONFIG += qmltypes
QML_IMPORT_NAME = OpenHD
QML_IMPORT_MAJOR_VERSION = 1
OBJECTS_DIR = $${OUT_PWD}/obj
MOC_DIR = $${OUT_PWD}/moc
UI_DIR = $${OUT_PWD}/ui
RCC_DIR = $${OUT_PWD}/rcc
QT += qml quick concurrent opengl gui
QT += positioning location
QT_FOR_CONFIG += location-private
qtConfig(geoservices_mapboxgl): QT += sql opengl
qtConfig(geoservices_osm): QT += concurrent
INCLUDEPATH += $$PWD/inc
INCLUDEPATH += $$PWD/lib
INCLUDEPATH += $$PWD/lib/mavlink_generated/include/mavlink/v2.0
INCLUDEPATH += $$PWD/lib/GeographicLib-1.50/include
SOURCES += \
src/FPS.cpp \
src/altitudeladder.cpp \
src/blackboxmodel.cpp \
src/drawingcanvas.cpp \
src/flightpathvector.cpp \
src/frskytelemetry.cpp \
src/gpiomicroservice.cpp \
src/headingladder.cpp \
src/horizonladder.cpp \
src/linkmicroservice.cpp \
src/localmessage.cpp \
src/logger.cpp \
src/ltmtelemetry.cpp \
src/main.cpp \
src/managesettings.cpp \
src/mavlinkbase.cpp \
src/mavlinktelemetry.cpp \
src/migration.cpp \
src/missionwaypoint.cpp \
src/missionwaypointmanager.cpp \
src/msptelemetry.cpp \
src/openhd.cpp \
src/openhdpi.cpp \
src/openhdrc.cpp \
src/openhdsettings.cpp \
src/openhdtelemetry.cpp \
src/powermicroservice.cpp \
src/qopenhdlink.cpp \
src/smartporttelemetry.cpp \
src/speedladder.cpp \
src/statuslogmodel.cpp \
src/statusmicroservice.cpp \
src/util.cpp \
src/vectortelemetry.cpp \
src/QmlObjectListModel.cpp \
src/vroverlay.cpp
RESOURCES += qml/qml.qrc
HEADERS += \
inc/FPS.h \
inc/altitudeladder.h \
inc/blackboxmodel.h \
inc/drawingcanvas.h \
inc/gpiomicroservice.h \
inc/flightpathvector.h \
inc/headingladder.h \
inc/horizonladder.h \
inc/linkmicroservice.h \
inc/logger.h \
inc/logger_t.h \
inc/managesettings.h \
inc/mavlinkbase.h \
inc/missionwaypoint.h \
inc/missionwaypointmanager.h \
inc/powermicroservice.h \
inc/sharedqueue.h \
inc/constants.h \
inc/frskytelemetry.h \
inc/localmessage.h \
inc/localmessage_t.h \
inc/ltmtelemetry.h \
inc/mavlinktelemetry.h \
inc/migration.hpp \
inc/msptelemetry.h \
inc/openhd.h \
inc/openhdpi.h \
inc/openhdrc.h \
inc/openhdsettings.h \
inc/openhdtelemetry.h \
inc/qopenhdlink.h \
inc/smartporttelemetry.h \
inc/speedladder.h \
inc/statuslogmodel.h \
inc/statusmicroservice.h \
inc/util.h \
inc/vectortelemetry.h \
inc/vroverlay.h \
inc/wifibroadcast.h \
inc/QmlObjectListModel.h
DISTFILES += \
android/AndroidManifest.xml \
android/build.gradle \
android/gradle/wrapper/gradle-wrapper.jar \
android/gradle/wrapper/gradle-wrapper.properties \
android/gradlew \
android/gradlew.bat \
android/res/drawable-hdpi/splashscreen.png \
android/res/drawable-ldpi/splashscreen.png \
android/res/drawable-mdpi/splashscreen.png \
android/res/drawable-xhdpi/splashscreen.png \
android/res/drawable-xxhdpi/splashscreen.png \
android/res/drawable-xxxhdpi/splashscreen.png \
android/res/values/libs.xml \
android/res/values/styles.xml \
android/src/OpenHDActivity.java \
android/src/org/freedesktop/gstreamer/androidmedia/GstAhcCallback.java \
android/src/org/freedesktop/gstreamer/androidmedia/GstAhsCallback.java \
android/src/org/freedesktop/gstreamer/androidmedia/GstAmcOnFrameAvailableListener.java \
qml/qtquickcontrols2.conf \
qml/ui/qmldir \
translations/QOpenHD_it.ts \
translations/QOpenHD_ro.ts \
translations/QOpenHD_zh.ts
SOURCES += \
lib/GeographicLib-1.50/src/Accumulator.cpp \
lib/GeographicLib-1.50/src/AlbersEqualArea.cpp \
lib/GeographicLib-1.50/src/AzimuthalEquidistant.cpp \
lib/GeographicLib-1.50/src/CassiniSoldner.cpp \
lib/GeographicLib-1.50/src/CircularEngine.cpp \
lib/GeographicLib-1.50/src/DMS.cpp \
lib/GeographicLib-1.50/src/Ellipsoid.cpp \
lib/GeographicLib-1.50/src/EllipticFunction.cpp \
lib/GeographicLib-1.50/src/GARS.cpp \
lib/GeographicLib-1.50/src/GeoCoords.cpp \
lib/GeographicLib-1.50/src/Geocentric.cpp \
lib/GeographicLib-1.50/src/Geodesic.cpp \
lib/GeographicLib-1.50/src/GeodesicExact.cpp \
lib/GeographicLib-1.50/src/GeodesicExactC4.cpp \
lib/GeographicLib-1.50/src/GeodesicLine.cpp \
lib/GeographicLib-1.50/src/GeodesicLineExact.cpp \
lib/GeographicLib-1.50/src/Geohash.cpp \
lib/GeographicLib-1.50/src/Geoid.cpp \
lib/GeographicLib-1.50/src/Georef.cpp \
lib/GeographicLib-1.50/src/Gnomonic.cpp \
lib/GeographicLib-1.50/src/GravityCircle.cpp \
lib/GeographicLib-1.50/src/GravityModel.cpp \
lib/GeographicLib-1.50/src/LambertConformalConic.cpp \
lib/GeographicLib-1.50/src/LocalCartesian.cpp \
lib/GeographicLib-1.50/src/MGRS.cpp \
lib/GeographicLib-1.50/src/MagneticCircle.cpp \
lib/GeographicLib-1.50/src/MagneticModel.cpp \
lib/GeographicLib-1.50/src/Math.cpp \
lib/GeographicLib-1.50/src/NormalGravity.cpp \
lib/GeographicLib-1.50/src/OSGB.cpp \
lib/GeographicLib-1.50/src/PolarStereographic.cpp \
lib/GeographicLib-1.50/src/PolygonArea.cpp \
lib/GeographicLib-1.50/src/Rhumb.cpp \
lib/GeographicLib-1.50/src/SphericalEngine.cpp \
lib/GeographicLib-1.50/src/TransverseMercator.cpp \
lib/GeographicLib-1.50/src/TransverseMercatorExact.cpp \
lib/GeographicLib-1.50/src/UTMUPS.cpp \
lib/GeographicLib-1.50/src/Utility.cpp
iOSBuild {
QMAKE_INFO_PLIST = ios/Info.plist
QMAKE_TARGET_BUNDLE_PREFIX = com.infincia
QMAKE_BUNDLE = qopenhd
QMAKE_DEVELOPMENT_TEAM = G738Z89QKM
ICON = $${BASEDIR}/icons/macos.icns
DISTFILES += ios/Info.plist \
icons/LaunchScreen.png \
icons/LaunchScreen.storyboard
LIBS += -framework VideoToolbox -framework AudioToolbox -framework CoreAudio -framework CoreVideo -framework CoreMedia
CONFIG -= bitcode
#CONFIG += EnableGamepads
CONFIG += EnableSpeech
CONFIG += EnableMainVideo
CONFIG += EnablePiP
CONFIG += EnableVideoRender
#CONFIG += EnableLink
#CONFIG += EnableCharts
CONFIG += EnableADSB
#CONFIG += EnableBlackbox
#CONFIG += EnableVR
#CONFIG += EnableLog //does not work due to filepath not set
app_launch_images.files = $$PWD/icons/LaunchScreen.png $$files($$PWD/icons/LaunchScreen.storyboard)
QMAKE_BUNDLE_DATA += app_launch_images
QMAKE_ASSET_CATALOGS += $$PWD/icons/ios/Assets.xcassets
EnableVideoRender {
QT += multimedia
HEADERS += \
inc/openhdapplevideo.h
SOURCES += \
src/openhdapplevideo.cpp
}
HEADERS += \
src/appleplatform.h
SOURCES += \
src/appleplatform.mm
EnableGStreamer {
DEFINES += GST_GL_HAVE_WINDOW_EAGL=1
DEFINES += GST_GL_HAVE_PLATFORM_EAGL=1
DEFINES += HAVE_QT_IOS
}
}
MacBuild {
QMAKE_INFO_PLIST = mac/Info.plist
ICON = $${BASEDIR}/icons/macos.icns
DISTFILES += mac/Info.plist
LIBS += -framework ApplicationServices
LIBS += -framework VideoToolbox -framework CoreVideo -framework CoreMedia
#CONFIG += EnableGamepads
CONFIG += EnableJoysticks
CONFIG += EnableSpeech
CONFIG += EnableMainVideo
CONFIG += EnablePiP
CONFIG += EnableVideoRender
#CONFIG += EnableLink
#CONFIG += EnableCharts
CONFIG += EnableADSB
#CONFIG += EnableBlackbox
#CONFIG += EnableVR
#CONFIG += EnableLog //does not work due to filepath not set
EnableVideoRender {
QT += multimedia
HEADERS += \
inc/openhdapplevideo.h
SOURCES += \
src/openhdapplevideo.cpp
}
EnableGStreamer {
DEFINES += GST_GL_HAVE_PLATFORM_CGL=1
DEFINES += GST_GL_HAVE_WINDOW_COCOA=1
DEFINES += HAVE_QT_MAC
}
}
LinuxBuild {
QT += x11extras
#CONFIG += EnableGamepads
CONFIG += EnableJoysticks
CONFIG += EnableMainVideo
CONFIG += EnablePiP
CONFIG += EnableGStreamer
#CONFIG += EnableLink
#CONFIG += EnableCharts
CONFIG += EnableADSB
#CONFIG += EnableBlackbox
#CONFIG += EnableVR
#CONFIG += EnableLog
message("LinuxBuild - config")
}
JetsonBuild {
message("JetsonBuild")
CONFIG += EnableMainVideo
CONFIG += EnablePiP
#CONFIG += EnableLink
#CONFIG += EnableCharts
CONFIG += EnableSpeech
CONFIG += EnableADSB
#CONFIG += EnableBlackbox
#CONFIG += EnableVR
#CONFIG += EnableLog //does not work due to filepath not set
CONFIG += EnableGStreamer
EnableGStreamer {
DEFINES += GST_GL_HAVE_PLATFORM_EGL=1
DEFINES += HAVE_QT_EGLFS=1
}
}
RaspberryPiBuild {
# we don't enable video here because hello_video handles it,
# and we dont enable gamepads or joysticks because those are already
# handled by another process running on the ground station. We could
# replace that at some point but for now it isn't necessary.
message("RaspberryPiBuild - config")
#CONFIG += EnableMainVideo
CONFIG += EnablePiP
#CONFIG += EnableLink
#CONFIG += EnableCharts
CONFIG += EnableSpeech
CONFIG += EnableADSB
CONFIG += LimitADSBMax
#CONFIG += EnableBlackbox
#CONFIG += EnableVR
#CONFIG += EnableLog
CONFIG += EnableVideoRender
EnableVideoRender {
LIBS += -L/usr/lib/arm-linux-gnueabihf -L/opt/vc/lib/ -lbcm_host -lmmal -lmmal_util -lmmal_components -lmmal_core -lmmal_vc_client -lvcos -lvcsm -lvchostif -lvchiq_arm
QT += multimedia
INCLUDEPATH += /opt/vc/include
HEADERS += \
inc/openhdmmalvideo.h
SOURCES += \
src/openhdmmalvideo.cpp
}
}
WindowsBuild {
#CONFIG += EnableGamepads
CONFIG += EnableJoysticks
CONFIG += EnableSpeech
CONFIG += EnableMainVideo
#CONFIG +- EnablePiP
#CONFIG += EnableLink
CONFIG += EnableGStreamer
#CONFIG += EnableCharts
CONFIG += EnableADSB
#CONFIG += EnableBlackbox
#CONFIG += EnableVR
#CONFIG += EnableLog
DEFINES += GST_GL_HAVE_WINDOW_WIN32=1
DEFINES += GST_GL_HAVE_PLATFORM_WGL=1
DEFINES += HAVE_QT_WIN32
INCLUDEPATH += $$PWD/win/include
}
AndroidBuild {
#CONFIG += EnableGamepads
CONFIG += EnableJoysticks
CONFIG += EnableSpeech
CONFIG += EnableMainVideo
CONFIG += EnablePiP
#CONFIG += EnableLink
CONFIG += EnableVideoRender
#CONFIG += EnableCharts
CONFIG += EnableADSB
#CONFIG += EnableBlackbox
#CONFIG += EnableVR
#CONFIG += EnableLog
EnableGStreamer {
OTHER_FILES += \
$$PWD/android/src/org/openhd/OpenHDActivity.java
DEFINES += GST_GL_HAVE_PLATFORM_EGL=1
DEFINES += GST_GL_HAVE_WINDOW_ANDROID=1
DEFINES += HAVE_QT_ANDROID
}
EnableVideoRender {
LIBS += -lmediandk
LIBS += -landroid
QT += multimedia
HEADERS += \
inc/openhdandroidrender.h \
inc/openhdandroidvideo.h \
inc/androidsurfacetexture.h
SOURCES += \
src/openhdandroidrender.cpp \
src/openhdandroidvideo.cpp \
src/androidsurfacetexture.cpp
OTHER_FILES += \
$$PWD/android/src/org/openhd/OpenHDActivity.java \
$$PWD/android/src/org/openhd/SurfaceTextureListener.java
}
QT += androidextras
#Androidx86Build {
# ANDROID_EXTRA_LIBS += $$PWD/lib/android/openssl/latest/x86/libcrypto_1_1.so \
# $$PWD/lib/android/openssl/latest/x86/libssl_1_1.so
#} AndroidARM64Build {
# ANDROID_EXTRA_LIBS += $$PWD/lib/android/openssl/latest/arm64/libcrypto_1_1.so \
# $$PWD/lib/android/openssl/latest/arm64/libssl_1_1.so
#} else {
ANDROID_EXTRA_LIBS += $$PWD/lib/android/openssl/latest/arm/libcrypto_1_1.so \
$$PWD/lib/android/openssl/latest/arm/libssl_1_1.so
#}
}
EnableBlackbox {
message("EnableBlackbox")
DEFINES += ENABLE_BLACKBOX
}
EnableVR {
message("EnableVR")
DEFINES += ENABLE_VR
SOURCES += \
src/vroverlay.cpp
HEADERS += \
inc/vroverlay.h
}
EnableLog {
message("EnableLog")
DEFINES += ENABLE_LOG
}
EnableADSB {
message("EnableADSB")
DEFINES += ENABLE_ADSB
SOURCES += \
src/ADSBVehicleManager.cpp \
src/ADSBVehicle.cpp
HEADERS += \
inc/ADSBVehicleManager.h \
inc/ADSBVehicle.h
}
LimitADSBMax {
message("LimitADSBMax")
DEFINES += LIMIT_ADSB_MAX
}
EnableCharts {
message("EnableCharts")
DEFINES += ENABLE_CHARTS
QT += charts
}
EnableSpeech {
message("EnableSpeech")
DEFINES += ENABLE_SPEECH
QT += texttospeech
}
EnableMainVideo {
message("EnableMainVideo")
DEFINES += ENABLE_MAIN_VIDEO
}
EnableGStreamer {
DEFINES += ENABLE_GSTREAMER
SOURCES += \
src/openhdvideostream.cpp
HEADERS += \
inc/openhdvideostream.h
include ($$PWD/lib/VideoStreaming/VideoStreaming.pri)
}
EnableVideoRender {
message("EnableVideoRender")
DEFINES += ENABLE_VIDEO_RENDER
HEADERS += \
inc/openhdvideo.h \
inc/openhdrender.h
SOURCES += \
src/openhdvideo.cpp \
src/openhdrender.cpp \
$$PWD/lib/h264/h264_bitstream_parser.cc \
$$PWD/lib/h264/h264_common.cc \
$$PWD/lib/h264/pps_parser.cc \
$$PWD/lib/h264/sps_parser.cc \
$$PWD/lib/h264/bit_buffer.cc \
$$PWD/lib/h264/checks.cc \
$$PWD/lib/h264/zero_memory.cc
INCLUDEPATH += $$PWD/lib/h264/
}
EnablePiP {
message("EnablePiP")
DEFINES += ENABLE_PIP
}
EnableLink {
message("EnableLink")
DEFINES += ENABLE_LINK
}
EnableRC {
message("EnableRC")
DEFINES += ENABLE_RC
EnableGamepads {
message("EnableGamepads")
DEFINES += ENABLE_GAMEPADS
QT += gamepad
}
EnableJoysticks {
message("EnableJoysticks")
DEFINES += ENABLE_JOYSTICKS
include ($$PWD/QJoysticks/QJoysticks.pri)
}
}
installer {
MacBuild {
DESTDIR_COPY_RESOURCE_LIST = $$DESTDIR/$${TARGET}.app/Contents/MacOS
EnableGStreamer {
QMAKE_POST_LINK += $${BASEDIR}/tools/prepare_gstreamer_framework.sh $${DESTDIR}/gstwork $${DESTDIR}/$${TARGET}.app $${TARGET}
QMAKE_POST_LINK += && cd $${DESTDIR}
}
EnableVideoRender {
QMAKE_POST_LINK += cd $${DESTDIR}
}
QMAKE_POST_LINK += && $$dirname(QMAKE_QMAKE)/macdeployqt $${TARGET}.app -appstore-compliant -qmldir=$${BASEDIR}/qml
QMAKE_POST_LINK += && /usr/libexec/PlistBuddy -c \"Set :CFBundleShortVersionString $$APPLE_BUILD\" $$DESTDIR/$${TARGET}.app/Contents/Info.plist
QMAKE_POST_LINK += && /usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $$APPLE_BUILD\" $$DESTDIR/$${TARGET}.app/Contents/Info.plist
IS_TRAVIS = $$(TRAVIS)
!isEmpty(IS_TRAVIS) {
QMAKE_POST_LINK += && codesign --force --verify --sign \"${DEV_CERT}\" --keychain ${PWD}/openhd.keychain $${TARGET}.app --deep
} else {
QMAKE_POST_LINK += && codesign --force --verify --sign \"${DEV_CERT}\" --keychain ${HOME}/Library/Keychains/login.keychain $${TARGET}.app --deep
}
QMAKE_POST_LINK += && hdiutil create $${TARGET}.dmg -volname $${TARGET} -fs HFS+ -srcfolder $${DESTDIR}/$${TARGET}.app
QMAKE_POST_LINK += && hdiutil convert $${TARGET}.dmg -format UDZO -o "$${TARGET}-$${QOPENHD_VERSION}.dmg"
}
WindowsBuild {
DESTDIR_WIN = $$replace(DESTDIR, "/", "\\")
OTHER_FILES += tools/qopenhd_installer.nsi
QMAKE_POST_LINK +=$${PWD}/win_deploy_sdl.cmd \"$$DESTDIR_WIN\" \"$$PWD\QJoysticks\lib\SDL\bin\windows\msvc\x86\" $$escape_expand(\\n)
QMAKE_POST_LINK += $$escape_expand(\\n) c:\Qt\5.15.2\msvc2019\bin\windeployqt.exe --qmldir $${PWD}/qml \"$${DESTDIR_WIN}\\QOpenHD.exe\"
QMAKE_POST_LINK += $$escape_expand(\\n) cd $$BASEDIR_WIN && $$quote("\"C:\\Program Files \(x86\)\\NSIS\\makensis.exe\"" /DINSTALLER_ICON="\"$${PWD}\icons\openhd.ico\"" /DHEADER_BITMAP="\"$${PWD}\icons\LaunchScreen.png\"" /DAPPNAME="\"QOpenHD\"" /DEXENAME="\"$${TARGET}\"" /DORGNAME="\"Open.HD\"" /DDESTDIR=$${DESTDIR} /NOCD "\"/XOutFile $${DESTDIR_WIN}\\QOpenHD-$${QOPENHD_VERSION}.exe\"" "$$PWD/tools/qopenhd_installer.nsi")
}
AndroidBuild {
QMAKE_POST_LINK += mkdir -p $${DESTDIR}/package
QMAKE_POST_LINK += && make install INSTALL_ROOT=$${DESTDIR}/android-build/
}
}
contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
ANDROID_PACKAGE_SOURCE_DIR = \
$$PWD/android
}
contains(ANDROID_TARGET_ARCH,arm64-v8a) {
ANDROID_PACKAGE_SOURCE_DIR = \
$$PWD/android
}
ANDROID_ABIS = armeabi-v7a