forked from mavlink/qgroundcontrol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qgroundcontrol.pro
1350 lines (1219 loc) · 45 KB
/
qgroundcontrol.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
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
################################################################################
#
# (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
#
# QGroundControl is licensed according to the terms in the file
# COPYING.md in the root of the source code directory.
#
################################################################################
QMAKE_PROJECT_DEPTH = 0 # undocumented qmake flag to force absolute paths in makefiles
# DEFINES += QGC_AIRLINK_DISABLED
message ("ANDROID_TARGET_ARCH $${ANDROID_TARGET_ARCH} $${QT_ARCH}")
exists($${OUT_PWD}/qgroundcontrol.pro) {
error("You must use shadow build (e.g. mkdir build; cd build; qmake ../qgroundcontrol.pro).")
}
message(Qt version $$[QT_VERSION])
!contains(CONFIG, DISABLE_QT_VERSION_CHECK) {
!equals(QT_MAJOR_VERSION, 6) | !equals(QT_MINOR_VERSION, 6) {
error("Unsupported Qt version, 6.6 is required. Found $$QT_MAJOR_VERSION.$$QT_MINOR_VERSION")
}
}
include(QGCCommon.pri)
TARGET = QGroundControl
TEMPLATE = app
QGCROOT = $$PWD
QML_IMPORT_PATH += $$PWD/src/QmlControls
#
# OS Specific settings
#
MacBuild {
QMAKE_INFO_PLIST = deploy/mac/QGC-qmake-info.plist
ICON = $${SOURCE_DIR}/resources/icons/macx.icns
OTHER_FILES += deploy/mac/QGC-qmake-info.plist
LIBS += -framework ApplicationServices
}
LinuxBuild {
CONFIG += qesp_linux_udev
system("$$QMAKE_LINK -fuse-ld=gold -Wl,--version &>/dev/null") {
CONFIG += use_gold_linker
}
}
WindowsBuild {
RC_ICONS = resources/icons/qgroundcontrol.ico
CONFIG += resources_big
}
#
# Branding
#
QGC_APP_NAME = "QGroundControl"
QGC_ORG_NAME = "QGroundControl.org"
QGC_ORG_DOMAIN = "org.qgroundcontrol"
QGC_APP_DESCRIPTION = "Open source ground control app provided by QGroundControl dev team"
QGC_APP_COPYRIGHT = "Copyright (C) 2019 QGroundControl Development Team. All rights reserved."
WindowsBuild {
QGC_INSTALLER_SCRIPT = "$$SOURCE_DIR\\deploy\\windows\\nullsoft_installer.nsi"
QGC_INSTALLER_ICON = "$$SOURCE_DIR\\deploy\\windows\\WindowsQGC.ico"
QGC_INSTALLER_HEADER_BITMAP = "$$SOURCE_DIR\\deploy\\windows\\installheader.bmp"
QGC_INSTALLER_DRIVER_MSI = "$$SOURCE_DIR\\deploy\\windows\\driver.msi"
}
# Load additional config flags from user_config.pri
exists(user_config.pri):infile(user_config.pri, CONFIG) {
CONFIG += $$fromfile(user_config.pri, CONFIG)
message($$sprintf("Using user-supplied additional config: '%1' specified in user_config.pri", $$fromfile(user_config.pri, CONFIG)))
}
#
# Custom Build
#
# QGC will create a "CUSTOMCLASS" object (exposed by your custom build
# and derived from QGCCorePlugin).
# This is the start of allowing custom Plugins, which will eventually use a
# more defined runtime plugin architecture and not require a QGC project
# file you would have to keep in sync with the upstream repo.
#
# This allows you to ignore the custom build even if the custom build
# is present. It's useful to run "regular" builds to make sure you didn't
# break anything.
contains (CONFIG, QGC_DISABLE_CUSTOM_BUILD) {
message("Disable custom build override")
} else {
exists($$PWD/custom/custom.pri) {
message("Found custom build")
CONFIG += CustomBuild
DEFINES += QGC_CUSTOM_BUILD
# custom.pri must define:
# CUSTOMCLASS = YourIQGCCorePluginDerivation
# CUSTOMHEADER = \"\\\"YourIQGCCorePluginDerivation.h\\\"\"
include($$PWD/custom/custom.pri)
}
}
WindowsBuild {
# Sets up application properties
QMAKE_TARGET_COMPANY = "$${QGC_ORG_NAME}"
QMAKE_TARGET_DESCRIPTION = "$${QGC_APP_DESCRIPTION}"
QMAKE_TARGET_COPYRIGHT = "$${QGC_APP_COPYRIGHT}"
QMAKE_TARGET_PRODUCT = "$${QGC_APP_NAME}"
}
#-------------------------------------------------------------------------------------
# iOS
iOSBuild {
contains (CONFIG, DISABLE_BUILTIN_IOS) {
message("Skipping builtin support for iOS")
} else {
LIBS += -framework AVFoundation
#-- Info.plist (need an "official" one for the App Store)
ForAppStore {
message(App Store Build)
#-- Create official, versioned Info.plist
APP_STORE = $$system(cd $${SOURCE_DIR} && $${SOURCE_DIR}/tools/update_ios_version.sh $${SOURCE_DIR}/deploy/ios/iOSForAppStore-Info-Source.plist $${SOURCE_DIR}/ios/deploy/iOSForAppStore-Info.plist)
APP_ERROR = $$find(APP_STORE, "Error")
count(APP_ERROR, 1) {
error("Error building .plist file. 'ForAppStore' builds are only possible through the official build system.")
}
QT += qml-private
QMAKE_INFO_PLIST = $${SOURCE_DIR}/ios/deploy/iOSForAppStore-Info.plist
OTHER_FILES += $${SOURCE_DIR}/ios/deploy/iOSForAppStore-Info.plist
} else {
QMAKE_INFO_PLIST = $${SOURCE_DIR}/ios/deploy/iOS-Info.plist
OTHER_FILES += $${SOURCE_DIR}/ios/deploy/iOS-Info.plist
}
QMAKE_ASSET_CATALOGS += ios/deploy/Images.xcassets
BUNDLE.files = ios/deploy/QGCLaunchScreen.xib $$QMAKE_INFO_PLIST
QMAKE_BUNDLE_DATA += BUNDLE
}
}
#
# Plugin configuration
#
# This allows you to build custom versions of QGC which only includes your
# specific vehicle plugin. To remove support for a firmware type completely,
# disable both the Plugin and PluginFactory entries. To include custom support
# for an existing plugin type disable PluginFactory only. Then provide you own
# implementation of FirmwarePluginFactory and use the FirmwarePlugin and
# AutoPilotPlugin classes as the base clase for your derived plugin
# implementation.
contains (CONFIG, QGC_DISABLE_APM_PLUGIN) {
message("Disable APM Plugin")
} else {
CONFIG += APMFirmwarePlugin
}
contains (CONFIG, QGC_DISABLE_APM_PLUGIN_FACTORY) {
message("Disable APM Plugin Factory")
} else {
CONFIG += APMFirmwarePluginFactory
}
contains (CONFIG, QGC_DISABLE_PX4_PLUGIN) {
message("Disable PX4 Plugin")
} else {
CONFIG += PX4FirmwarePlugin
}
contains (CONFIG, QGC_DISABLE_PX4_PLUGIN_FACTORY) {
message("Disable PX4 Plugin Factory")
} else {
CONFIG += PX4FirmwarePluginFactory
}
# Bluetooth
contains (DEFINES, QGC_DISABLE_BLUETOOTH) {
message("Bluetooth support disabled (manual override from command line)")
DEFINES -= QGC_ENABLE_BLUETOOTH
} else:exists(user_config.pri):infile(user_config.pri, DEFINES, QGC_DISABLE_BLUETOOTH) {
message("Bluetooth support disabled (manual override from user_config.pri)")
DEFINES -= QGC_ENABLE_BLUETOOTH
} else:exists(user_config.pri):infile(user_config.pri, DEFINES, QGC_ENABLE_BLUETOOTH) {
DEFINES += QGC_ENABLE_BLUETOOTH
}
# QTNFC
contains (DEFINES, QGC_DISABLE_QTNFC) {
message("Skipping support for QTNFC (manual override from command line)")
DEFINES -= QGC_ENABLE_QTNFC
} else:exists(user_config.pri):infile(user_config.pri, DEFINES, QGC_DISABLE_QTNFC) {
message("Skipping support for QTNFC (manual override from user_config.pri)")
DEFINES -= QGC_ENABLE_QTNFC
} else:exists(user_config.pri):infile(user_config.pri, DEFINES, QGC_ENABLE_QTNFC) {
message("Including support for QTNFC (manual override from user_config.pri)")
DEFINES += QGC_ENABLE_QTNFC
}
# USB Camera and UVC Video Sources
contains (DEFINES, QGC_DISABLE_UVC) {
message("Skipping support for UVC devices (manual override from command line)")
DEFINES += QGC_DISABLE_UVC
} else:exists(user_config.pri):infile(user_config.pri, DEFINES, QGC_DISABLE_UVC) {
message("Skipping support for UVC devices (manual override from user_config.pri)")
DEFINES += QGC_DISABLE_UVC
} else:LinuxBuild {
contains(QT_VERSION, 5.5.1) {
message("Skipping support for UVC devices (conflict with Qt 5.5.1 on Ubuntu)")
DEFINES += QGC_DISABLE_UVC
}
}
LinuxBuild {
CONFIG += link_pkgconfig
}
# Qt configuration
CONFIG += qt \
thread
DebugBuild {
CONFIG -= qtquickcompiler
} else {
CONFIG += qtquickcompiler
}
contains(DEFINES, ENABLE_VERBOSE_OUTPUT) {
message("Enable verbose compiler output (manual override from command line)")
} else:exists(user_config.pri):infile(user_config.pri, DEFINES, ENABLE_VERBOSE_OUTPUT) {
message("Enable verbose compiler output (manual override from user_config.pri)")
} else {
CONFIG += silent
}
QT += \
concurrent \
gui \
location \
network \
opengl \
positioning \
qml \
quick \
quickcontrols2 \
quickwidgets \
sql \
svg \
widgets \
xml \
texttospeech \
core-private \
core5compat \
quick3d \
sensors
# Multimedia only used if QVC is enabled
!contains (DEFINES, QGC_DISABLE_UVC) {
QT += \
multimedia
}
!iOSBuild {
QT += \
serialport \
}
contains(DEFINES, QGC_ENABLE_BLUETOOTH) {
QT += \
bluetooth \
}
contains(DEFINES, QGC_ENABLE_QTNFC) {
QT += \
nfc \
}
#
# Build-specific settings
#
DebugBuild {
!iOSBuild {
CONFIG += console
}
}
#
# Our QtLocation "plugin"
#
include(src/QtLocationPlugin/QGCLocationPlugin.pri)
#
# External library configuration
#
include(QGCExternalLibs.pri)
#
# Resources (custom code can replace them)
#
CustomBuild {
exists($$PWD/custom/qgroundcontrol.qrc) {
message("Using custom qgroundcontrol.qrc")
RESOURCES += $$PWD/custom/qgroundcontrol.qrc
} else {
RESOURCES += $$PWD/qgroundcontrol.qrc
}
exists($$PWD/custom/qgcresources.qrc) {
message("Using custom qgcresources.qrc")
RESOURCES += $$PWD/custom/qgcresources.qrc
} else {
RESOURCES += $$PWD/qgcresources.qrc
}
exists($$PWD/custom/qgcimages.qrc) {
message("Using custom qgcimages.qrc")
RESOURCES += $$PWD/custom/qgcimages.qrc
} else {
RESOURCES += $$PWD/qgcimages.qrc
}
exists($$PWD/custom/InstrumentValueIcons.qrc) {
message("Using custom InstrumentValueIcons.qrc")
RESOURCES += $$PWD/custom/InstrumentValueIcons.qrc
} else {
RESOURCES += $$PWD/resources/InstrumentValueIcons/InstrumentValueIcons.qrc
}
} else {
DEFINES += QGC_APP_NAME=\"\\\"QGroundControl\\\"\"
DEFINES += QGC_ORG_NAME=\"\\\"QGroundControl.org\\\"\"
DEFINES += QGC_ORG_DOMAIN=\"\\\"org.qgroundcontrol\\\"\"
RESOURCES += \
$$PWD/qgroundcontrol.qrc \
$$PWD/qgcresources.qrc \
$$PWD/qgcimages.qrc \
$$PWD/resources/InstrumentValueIcons/InstrumentValueIcons.qrc \
}
#
# Main QGroundControl portion of project file
#
DEPENDPATH += \
. \
plugins
INCLUDEPATH += .
INCLUDEPATH += \
include/ui \
src \
src/ADSB \
src/API \
src/AnalyzeView \
src/Camera \
src/AutoPilotPlugins \
src/FlightDisplay \
src/FlightMap \
src/FlightMap/Widgets \
src/FollowMe \
src/Geo \
src/GPS \
src/Joystick \
src/MAVLink \
src/MAVLink/LibEvents \
src/PlanView \
src/MissionManager \
src/PositionManager \
src/QmlControls \
src/QtLocationPlugin \
src/QtLocationPlugin/QMLControl \
src/Settings \
src/Terrain \
src/Vehicle \
src/Vehicle/Actuators \
src/Vehicle/Components \
src/Vehicle/FactGroups \
src/Vehicle/LibEvents \
src/Audio \
src/Comms \
src/Comms/MockLink \
src/input \
src/lib/qmapcontrol \
src/uas \
src/ui \
src/ui/linechart \
src/ui/map \
src/ui/mapdisplay \
src/ui/mission \
src/ui/px4_configuration \
src/ui/toolbar \
src/ui/uas \
src/Viewer3D \
src/Utilities \
src/Utilities/Compression
#
# Plugin API
#
HEADERS += \
src/QmlControls/CustomAction.h \
src/QmlControls/CustomActionManager.h \
src/QmlControls/QmlUnitsConversion.h \
src/Vehicle/FactGroups/VehicleEscStatusFactGroup.h \
src/API/QGCCorePlugin.h \
src/API/QGCOptions.h \
src/API/QGCSettings.h \
src/API/QmlComponentInfo.h \
src/GPS/Drivers/src/base_station.h \
SOURCES += \
src/QmlControls/CustomAction.cc \
src/QmlControls/CustomActionManager.cc \
src/Vehicle/FactGroups/VehicleEscStatusFactGroup.cc \
src/API/QGCCorePlugin.cc \
src/API/QGCOptions.cc \
src/API/QGCSettings.cc \
src/API/QmlComponentInfo.cc \
# Main QGC Headers and Source files
HEADERS += \
src/ADSB/ADSBTCPLink.h \
src/ADSB/ADSBVehicle.h \
src/ADSB/ADSBVehicleManager.h \
src/AnalyzeView/LogDownloadController.h \
src/AnalyzeView/LogEntry.h \
src/AnalyzeView/PX4LogParser.h \
src/AnalyzeView/ULogParser.h \
src/AnalyzeView/MAVLinkConsoleController.h \
src/AnalyzeView/MAVLinkMessage.h \
src/AnalyzeView/MAVLinkMessageField.h \
src/AnalyzeView/MAVLinkSystem.h \
src/Audio/AudioOutput.h \
src/Vehicle/Autotune.h \
src/Camera/MavlinkCameraControl.h \
src/Camera/SimulatedCameraControl.h \
src/Camera/VehicleCameraControl.h \
src/Camera/QGCCameraIO.h \
src/Camera/QGCCameraManager.h \
src/CmdLineOptParser.h \
src/Utilities/Compression/QGCLZMA.h \
src/Utilities/Compression/QGCZlib.h \
src/FirmwarePlugin/PX4/px4_custom_mode.h \
src/FollowMe/FollowMe.h \
src/Joystick/Joystick.h \
src/Joystick/JoystickManager.h \
src/Utilities/JsonHelper.h \
src/Utilities/KMLDomDocument.h \
src/Utilities/KMLHelper.h \
src/MissionManager/CameraCalc.h \
src/MissionManager/CameraSection.h \
src/MissionManager/CameraSpec.h \
src/MissionManager/ComplexMissionItem.h \
src/MissionManager/CorridorScanComplexItem.h \
src/MissionManager/CorridorScanPlanCreator.h \
src/MissionManager/BlankPlanCreator.h \
src/MissionManager/FixedWingLandingComplexItem.h \
src/MissionManager/GeoFenceController.h \
src/MissionManager/GeoFenceManager.h \
src/MissionManager/KMLPlanDomDocument.h \
src/MissionManager/LandingComplexItem.h \
src/MissionManager/MissionCommandList.h \
src/MissionManager/MissionCommandTree.h \
src/MissionManager/MissionCommandUIInfo.h \
src/MissionManager/MissionController.h \
src/MissionManager/MissionItem.h \
src/MissionManager/MissionManager.h \
src/MissionManager/MissionSettingsItem.h \
src/MissionManager/PlanElementController.h \
src/MissionManager/PlanCreator.h \
src/MissionManager/PlanManager.h \
src/MissionManager/PlanMasterController.h \
src/QmlControls/QGCFenceCircle.h \
src/QmlControls/QGCFencePolygon.h \
src/QmlControls/QGCMapCircle.h \
src/QmlControls/QGCMapPolygon.h \
src/QmlControls/QGCMapPolyline.h \
src/MissionManager/RallyPoint.h \
src/MissionManager/RallyPointController.h \
src/MissionManager/RallyPointManager.h \
src/MissionManager/SimpleMissionItem.h \
src/MissionManager/Section.h \
src/MissionManager/SpeedSection.h \
src/MissionManager/StructureScanComplexItem.h \
src/MissionManager/StructureScanPlanCreator.h \
src/MissionManager/SurveyComplexItem.h \
src/MissionManager/SurveyPlanCreator.h \
src/MissionManager/TakeoffMissionItem.h \
src/MissionManager/TransectStyleComplexItem.h \
src/MissionManager/VisualMissionItem.h \
src/MissionManager/VTOLLandingComplexItem.h \
src/PositionManager/PositionManager.h \
src/PositionManager/SimulatedPosition.h \
src/Geo/QGCGeo.h \
src/Utilities/QGC.h \
src/Utilities/DeviceInfo.h \
src/QGCApplication.h \
src/Utilities/QGCCachedFileDownload.h \
src/QGCConfig.h \
src/Utilities/QGCFileDownload.h \
src/Utilities/QGCLoggingCategory.h \
src/QmlControls/QGCMapPalette.h \
src/QmlControls/QGCPalette.h \
src/QmlControls/QGCQGeoCoordinate.h \
src/Utilities/QGCTemporaryFile.h \
src/QGCToolbox.h \
src/QmlControls/AppMessages.h \
src/QmlControls/EditPositionDialogController.h \
src/QmlControls/FlightPathSegment.h \
src/QmlControls/HorizontalFactValueGrid.h \
src/QmlControls/InstrumentValueData.h \
src/QmlControls/FactValueGrid.h \
src/QmlControls/ParameterEditorController.h \
src/QmlControls/QGCFileDialogController.h \
src/QmlControls/QGCImageProvider.h \
src/QmlControls/QGroundControlQmlGlobal.h \
src/QmlControls/QmlObjectListModel.h \
src/QmlControls/QGCGeoBoundingCube.h \
src/QmlControls/RCChannelMonitorController.h \
src/QmlControls/RCToParamDialogController.h \
src/QmlControls/ScreenToolsController.h \
src/QmlControls/TerrainProfile.h \
src/QmlControls/ToolStripAction.h \
src/QmlControls/ToolStripActionList.h \
src/QtLocationPlugin/QMLControl/QGCMapEngineManager.h \
src/Settings/ADSBVehicleManagerSettings.h \
src/Settings/AppSettings.h \
src/Settings/AutoConnectSettings.h \
src/Settings/BatteryIndicatorSettings.h \
src/Settings/BrandImageSettings.h \
src/Settings/CustomMavlinkActionsSettings.h \
src/Settings/RemoteIDSettings.h \
src/Settings/FirmwareUpgradeSettings.h \
src/Settings/FlightMapSettings.h \
src/Settings/FlightModeSettings.h \
src/Settings/FlyViewSettings.h \
src/Settings/MapsSettings.h \
src/Settings/OfflineMapsSettings.h \
src/Settings/PlanViewSettings.h \
src/Settings/RTKSettings.h \
src/Settings/SettingsGroup.h \
src/Settings/SettingsManager.h \
src/Settings/UnitsSettings.h \
src/Settings/VideoSettings.h \
src/Utilities/ShapeFileHelper.h \
src/Utilities/SHPFileHelper.h \
src/Terrain/TerrainQuery.h \
src/Terrain/TerrainQueryAirMap.h \
src/Terrain/TerrainTile.h \
src/Terrain/TerrainTileManager.h \
src/Vehicle/Actuators/ActuatorActions.h \
src/Vehicle/Actuators/Actuators.h \
src/Vehicle/Actuators/ActuatorOutputs.h \
src/Vehicle/Actuators/ActuatorTesting.h \
src/Vehicle/Actuators/Common.h \
src/Vehicle/Actuators/GeometryImage.h \
src/Vehicle/Actuators/Mixer.h \
src/Vehicle/Actuators/MotorAssignment.h \
src/MAVLink/LibEvents/EventHandler.h \
src/MAVLink/LibEvents/HealthAndArmingCheckReport.h \
src/MAVLink/LibEvents/libevents_includes.h \
src/Vehicle/Components/CompInfo.h \
src/Vehicle/Components/CompInfoActuators.h \
src/Vehicle/Components/CompInfoEvents.h \
src/Vehicle/Components/CompInfoParam.h \
src/Vehicle/Components/CompInfoGeneral.h \
src/Vehicle/Components/ComponentInformationCache.h \
src/Vehicle/Components/ComponentInformationManager.h \
src/Vehicle/Components/ComponentInformationTranslation.h \
src/Vehicle/FTPManager.h \
src/Vehicle/FactGroups/GPSRTKFactGroup.h \
src/MAVLink/ImageProtocolManager.h \
src/Vehicle/InitialConnectStateMachine.h \
src/Vehicle/MAVLinkLogManager.h \
src/MAVLink/MAVLinkStreamConfig.h \
src/Vehicle/MultiVehicleManager.h \
src/Vehicle/RemoteIDManager.h \
src/Utilities/StateMachine.h \
src/Vehicle/StandardModes.h \
src/MAVLink/SysStatusSensorInfo.h \
src/Vehicle/FactGroups/TerrainFactGroup.h \
src/Vehicle/TerrainProtocolHandler.h \
src/Vehicle/TrajectoryPoints.h \
src/Vehicle/Vehicle.h \
src/Vehicle/VehicleObjectAvoidance.h \
src/Vehicle/FactGroups/VehicleBatteryFactGroup.h \
src/Vehicle/FactGroups/VehicleClockFactGroup.h \
src/Vehicle/FactGroups/VehicleDistanceSensorFactGroup.h \
src/Vehicle/FactGroups/VehicleEstimatorStatusFactGroup.h \
src/Vehicle/FactGroups/VehicleLocalPositionFactGroup.h \
src/Vehicle/FactGroups/VehicleLocalPositionSetpointFactGroup.h \
src/Vehicle/FactGroups/VehicleGPSFactGroup.h \
src/Vehicle/FactGroups/VehicleGPS2FactGroup.h \
src/Vehicle/VehicleLinkManager.h \
src/Vehicle/FactGroups/VehicleSetpointFactGroup.h \
src/Vehicle/FactGroups/VehicleTemperatureFactGroup.h \
src/Vehicle/FactGroups/VehicleVibrationFactGroup.h \
src/Vehicle/FactGroups/VehicleWindFactGroup.h \
src/Vehicle/FactGroups/VehicleHygrometerFactGroup.h \
src/Vehicle/FactGroups/VehicleGeneratorFactGroup.h \
src/Vehicle/FactGroups/VehicleEFIFactGroup.h \
src/VehicleSetup/JoystickConfigController.h \
src/Comms/LinkConfiguration.h \
src/Comms/LinkInterface.h \
src/Comms/LinkManager.h \
src/Comms/LogReplayLink.h \
src/Comms/MAVLinkProtocol.h \
src/MAVLink/QGCMAVLink.h \
src/MAVLink/MAVLinkLib.h \
src/MAVLink/MAVLinkFTP.h \
src/Comms/TCPLink.h \
src/Comms/UDPLink.h \
src/Comms/UdpIODevice.h \
src/Vehicle/UASMessageHandler.h \
src/AnalyzeView/GeoTagController.h \
src/AnalyzeView/GeoTagWorker.h \
src/AnalyzeView/ExifParser.h \
src/Viewer3D/CityMapGeometry.h \
src/Viewer3D/OsmParser.h \
src/Viewer3D/Viewer3DQmlBackend.h \
src/Viewer3D/Viewer3DQmlVariableTypes.h \
src/Viewer3D/Viewer3DUtils.h \
src/Viewer3D/Viewer3DManager.h \
src/Settings/Viewer3DSettings.h \
src/Viewer3D/Viewer3DTileReply.h \
src/Viewer3D/Viewer3DTerrainGeometry.h \
src/Viewer3D/Viewer3DTerrainTexture.h \
src/Viewer3D/Viewer3DTileQuery.h \
src/Viewer3D/OsmParserThread.h \
AndroidBuild {
HEADERS += \
src/Joystick/JoystickAndroid.h \
}
DebugBuild {
HEADERS += \
src/Comms/MockLink/MockLink.h \
src/Comms/MockLink/MockLinkFTP.h \
src/Comms/MockLink/MockLinkMissionItemHandler.h \
}
WindowsBuild {
PRECOMPILED_HEADER += src/pch.h
HEADERS += src/pch.h
CONFIG -= silent
OTHER_FILES += .appveyor.yml
}
contains(DEFINES, QGC_ENABLE_BLUETOOTH) {
HEADERS += \
src/Comms/BluetoothLink.h \
}
!contains(DEFINES, NO_SERIAL_LINK) {
HEADERS += \
src/Comms/QGCSerialPortInfo.h \
src/Comms/SerialLink.h \
}
!iosBuild {
HEADERS += \
src/GPS/Drivers/src/gps_helper.h \
src/GPS/Drivers/src/rtcm.h \
src/GPS/Drivers/src/ashtech.h \
src/GPS/Drivers/src/ubx.h \
src/GPS/Drivers/src/sbf.h \
src/GPS/GPSManager.h \
src/GPS/GPSPositionMessage.h \
src/GPS/GPSProvider.h \
src/GPS/RTCMMavlink.h \
src/GPS/definitions.h \
src/GPS/satellite_info.h \
src/GPS/sensor_gps.h \
src/GPS/sensor_gnss_relative.h
}
!MobileBuild {
HEADERS += \
src/Joystick/JoystickSDL.h \
src/RunGuard.h
}
iOSBuild {
OBJECTIVE_SOURCES += \
src/Utilities/MobileScreenMgr.mm \
}
AndroidBuild {
SOURCES += \
src/Utilities/MobileScreenMgr.cc \
src/Joystick/JoystickAndroid.cc
HEADERS += src/Utilities/MobileScreenMgr.h
}
SOURCES += \
src/ADSB/ADSBTCPLink.cc \
src/ADSB/ADSBVehicle.cc \
src/ADSB/ADSBVehicleManager.cc \
src/AnalyzeView/LogDownloadController.cc \
src/AnalyzeView/LogEntry.cc \
src/AnalyzeView/PX4LogParser.cc \
src/AnalyzeView/ULogParser.cc \
src/AnalyzeView/MAVLinkConsoleController.cc \
src/AnalyzeView/MAVLinkMessage.cc \
src/AnalyzeView/MAVLinkMessageField.cc \
src/AnalyzeView/MAVLinkSystem.cc \
src/Audio/AudioOutput.cc \
src/Vehicle/Autotune.cpp \
src/Camera/MavlinkCameraControl.cc \
src/Camera/SimulatedCameraControl.cc \
src/Camera/VehicleCameraControl.cc \
src/Camera/QGCCameraIO.cc \
src/Camera/QGCCameraManager.cc \
src/CmdLineOptParser.cc \
src/Utilities/Compression/QGCLZMA.cc \
src/Utilities/Compression/QGCZlib.cc \
src/FollowMe/FollowMe.cc \
src/Joystick/Joystick.cc \
src/Joystick/JoystickManager.cc \
src/Utilities/JsonHelper.cc \
src/Utilities/KMLDomDocument.cc \
src/Utilities/KMLHelper.cc \
src/MissionManager/CameraCalc.cc \
src/MissionManager/CameraSection.cc \
src/MissionManager/CameraSpec.cc \
src/MissionManager/ComplexMissionItem.cc \
src/MissionManager/CorridorScanComplexItem.cc \
src/MissionManager/CorridorScanPlanCreator.cc \
src/MissionManager/BlankPlanCreator.cc \
src/MissionManager/FixedWingLandingComplexItem.cc \
src/MissionManager/GeoFenceController.cc \
src/MissionManager/GeoFenceManager.cc \
src/MissionManager/KMLPlanDomDocument.cc \
src/MissionManager/LandingComplexItem.cc \
src/MissionManager/MissionCommandList.cc \
src/MissionManager/MissionCommandTree.cc \
src/MissionManager/MissionCommandUIInfo.cc \
src/MissionManager/MissionController.cc \
src/MissionManager/MissionItem.cc \
src/MissionManager/MissionManager.cc \
src/MissionManager/MissionSettingsItem.cc \
src/MissionManager/PlanElementController.cc \
src/MissionManager/PlanCreator.cc \
src/MissionManager/PlanManager.cc \
src/MissionManager/PlanMasterController.cc \
src/QmlControls/QGCFenceCircle.cc \
src/QmlControls/QGCFencePolygon.cc \
src/QmlControls/QGCMapCircle.cc \
src/QmlControls/QGCMapPolygon.cc \
src/QmlControls/QGCMapPolyline.cc \
src/MissionManager/RallyPoint.cc \
src/MissionManager/RallyPointController.cc \
src/MissionManager/RallyPointManager.cc \
src/MissionManager/SimpleMissionItem.cc \
src/MissionManager/SpeedSection.cc \
src/MissionManager/StructureScanComplexItem.cc \
src/MissionManager/StructureScanPlanCreator.cc \
src/MissionManager/SurveyComplexItem.cc \
src/MissionManager/SurveyPlanCreator.cc \
src/MissionManager/TakeoffMissionItem.cc \
src/MissionManager/TransectStyleComplexItem.cc \
src/MissionManager/VisualMissionItem.cc \
src/MissionManager/VTOLLandingComplexItem.cc \
src/PositionManager/PositionManager.cpp \
src/PositionManager/SimulatedPosition.cc \
src/Geo/QGCGeo.cc \
src/Utilities/QGC.cc \
src/Utilities/DeviceInfo.cc \
src/QGCApplication.cc \
src/Utilities/QGCCachedFileDownload.cc \
src/Utilities/QGCFileDownload.cc \
src/Utilities/QGCLoggingCategory.cc \
src/QmlControls/QGCMapPalette.cc \
src/QmlControls/QGCPalette.cc \
src/QmlControls/QGCQGeoCoordinate.cc \
src/Utilities/QGCTemporaryFile.cc \
src/QGCToolbox.cc \
src/QmlControls/AppMessages.cc \
src/QmlControls/EditPositionDialogController.cc \
src/QmlControls/FlightPathSegment.cc \
src/QmlControls/HorizontalFactValueGrid.cc \
src/QmlControls/InstrumentValueData.cc \
src/QmlControls/FactValueGrid.cc \
src/QmlControls/ParameterEditorController.cc \
src/QmlControls/QGCFileDialogController.cc \
src/QmlControls/QGCImageProvider.cc \
src/QmlControls/QGroundControlQmlGlobal.cc \
src/QmlControls/QmlObjectListModel.cc \
src/QmlControls/QGCGeoBoundingCube.cc \
src/QmlControls/RCChannelMonitorController.cc \
src/QmlControls/RCToParamDialogController.cc \
src/QmlControls/ScreenToolsController.cc \
src/QmlControls/TerrainProfile.cc \
src/QmlControls/ToolStripAction.cc \
src/QmlControls/ToolStripActionList.cc \
src/QtLocationPlugin/QMLControl/QGCMapEngineManager.cc \
src/Settings/ADSBVehicleManagerSettings.cc \
src/Settings/AppSettings.cc \
src/Settings/AutoConnectSettings.cc \
src/Settings/BatteryIndicatorSettings.cc \
src/Settings/BrandImageSettings.cc \
src/Settings/CustomMavlinkActionsSettings.cc \
src/Settings/RemoteIDSettings.cc \
src/Settings/FirmwareUpgradeSettings.cc \
src/Settings/FlightMapSettings.cc \
src/Settings/FlightModeSettings.cc \
src/Settings/FlyViewSettings.cc \
src/Settings/MapsSettings.cc \
src/Settings/OfflineMapsSettings.cc \
src/Settings/PlanViewSettings.cc \
src/Settings/RTKSettings.cc \
src/Settings/SettingsGroup.cc \
src/Settings/SettingsManager.cc \
src/Settings/UnitsSettings.cc \
src/Settings/VideoSettings.cc \
src/Utilities/ShapeFileHelper.cc \
src/Utilities/SHPFileHelper.cc \
src/Terrain/TerrainQuery.cc \
src/Terrain/TerrainQueryAirMap.cc \
src/Terrain/TerrainTile.cc \
src/Terrain/TerrainTileManager.cc \
src/Vehicle/Actuators/ActuatorActions.cc \
src/Vehicle/Actuators/Actuators.cc \
src/Vehicle/Actuators/ActuatorOutputs.cc \
src/Vehicle/Actuators/ActuatorTesting.cc \
src/Vehicle/Actuators/Common.cc \
src/Vehicle/Actuators/GeometryImage.cc \
src/Vehicle/Actuators/Mixer.cc \
src/Vehicle/Actuators/MotorAssignment.cc \
src/MAVLink/LibEvents/EventHandler.cc \
src/MAVLink/LibEvents/HealthAndArmingCheckReport.cc \
src/MAVLink/LibEvents/logging.cpp \
src/Vehicle/Components/CompInfo.cc \
src/Vehicle/Components/CompInfoActuators.cc \
src/Vehicle/Components/CompInfoEvents.cc \
src/Vehicle/Components/CompInfoParam.cc \
src/Vehicle/Components/CompInfoGeneral.cc \
src/Vehicle/Components/ComponentInformationCache.cc \
src/Vehicle/Components/ComponentInformationManager.cc \
src/Vehicle/Components/ComponentInformationTranslation.cc \
src/Vehicle/FTPManager.cc \
src/Vehicle/FactGroups/GPSRTKFactGroup.cc \
src/MAVLink/ImageProtocolManager.cc \
src/Vehicle/InitialConnectStateMachine.cc \
src/Vehicle/MAVLinkLogManager.cc \
src/MAVLink/MAVLinkStreamConfig.cc \
src/Vehicle/MultiVehicleManager.cc \
src/Vehicle/RemoteIDManager.cc \
src/Utilities/StateMachine.cc \
src/Vehicle/StandardModes.cc \
src/MAVLink/SysStatusSensorInfo.cc \
src/Vehicle/FactGroups/TerrainFactGroup.cc \
src/Vehicle/TerrainProtocolHandler.cc \
src/Vehicle/TrajectoryPoints.cc \
src/Vehicle/Vehicle.cc \
src/Vehicle/VehicleObjectAvoidance.cc \
src/Vehicle/FactGroups/VehicleBatteryFactGroup.cc \
src/Vehicle/FactGroups/VehicleClockFactGroup.cc \
src/Vehicle/FactGroups/VehicleDistanceSensorFactGroup.cc \
src/Vehicle/FactGroups/VehicleEstimatorStatusFactGroup.cc \
src/Vehicle/FactGroups/VehicleLocalPositionFactGroup.cc \
src/Vehicle/FactGroups/VehicleLocalPositionSetpointFactGroup.cc \
src/Vehicle/FactGroups/VehicleGPSFactGroup.cc \
src/Vehicle/FactGroups/VehicleGPS2FactGroup.cc \
src/Vehicle/VehicleLinkManager.cc \
src/Vehicle/FactGroups/VehicleSetpointFactGroup.cc \
src/Vehicle/FactGroups/VehicleTemperatureFactGroup.cc \
src/Vehicle/FactGroups/VehicleVibrationFactGroup.cc \
src/Vehicle/FactGroups/VehicleHygrometerFactGroup.cc \
src/Vehicle/FactGroups/VehicleGeneratorFactGroup.cc \
src/Vehicle/FactGroups/VehicleEFIFactGroup.cc \
src/Vehicle/FactGroups/VehicleWindFactGroup.cc \
src/VehicleSetup/JoystickConfigController.cc \
src/Comms/LinkConfiguration.cc \
src/Comms/LinkInterface.cc \
src/Comms/LinkManager.cc \
src/Comms/LogReplayLink.cc \
src/Comms/MAVLinkProtocol.cc \
src/MAVLink/QGCMAVLink.cc \
src/MAVLink/MAVLinkFTP.cc \
src/Comms/TCPLink.cc \
src/Comms/UDPLink.cc \
src/Comms/UdpIODevice.cc \
src/main.cc \
src/Vehicle/UASMessageHandler.cc \
src/AnalyzeView/GeoTagController.cc \
src/AnalyzeView/GeoTagWorker.cc \
src/AnalyzeView/ExifParser.cc \
src/Viewer3D/CityMapGeometry.cc \
src/Viewer3D/OsmParser.cc \
src/Viewer3D/Viewer3DQmlBackend.cc \
src/Viewer3D/Viewer3DUtils.cc \
src/Viewer3D/Viewer3DManager.cc \
src/Settings/Viewer3DSettings.cc \
src/Viewer3D/Viewer3DTileReply.cc \
src/Viewer3D/Viewer3DTerrainGeometry.cc \
src/Viewer3D/Viewer3DTerrainTexture.cc \
src/Viewer3D/Viewer3DTileQuery.cc \
src/Viewer3D/OsmParserThread.cc \
DebugBuild {
SOURCES += \
src/Comms/MockLink/MockLink.cc \
src/Comms/MockLink/MockLinkFTP.cc \
src/Comms/MockLink/MockLinkMissionItemHandler.cc \
}
!contains(DEFINES, NO_SERIAL_LINK) {
SOURCES += \
src/Comms/QGCSerialPortInfo.cc \
src/Comms/SerialLink.cc \
}
contains(DEFINES, QGC_ENABLE_BLUETOOTH) {
SOURCES += \
src/Comms/BluetoothLink.cc \
}
!iosBuild {
SOURCES += \
src/GPS/Drivers/src/gps_helper.cpp \
src/GPS/Drivers/src/rtcm.cpp \
src/GPS/Drivers/src/ashtech.cpp \
src/GPS/Drivers/src/ubx.cpp \
src/GPS/Drivers/src/sbf.cpp \
src/GPS/GPSManager.cc \
src/GPS/GPSProvider.cc \
src/GPS/RTCMMavlink.cc
}
!MobileBuild {
SOURCES += \
src/Joystick/JoystickSDL.cc \
src/RunGuard.cc \
}
#
# Firmware Plugin Support
#
INCLUDEPATH += \
src/AutoPilotPlugins/Common \
src/AutoPilotPlugins/Generic \
src/FirmwarePlugin \
src/VehicleSetup \
HEADERS+= \
src/AutoPilotPlugins/AutoPilotPlugin.h \
src/AutoPilotPlugins/Common/ESP8266Component.h \
src/AutoPilotPlugins/Common/ESP8266ComponentController.h \
src/AutoPilotPlugins/Common/MotorComponent.h \
src/AutoPilotPlugins/Common/RadioComponentController.h \
src/AutoPilotPlugins/Common/SyslinkComponent.h \
src/AutoPilotPlugins/Common/SyslinkComponentController.h \
src/AutoPilotPlugins/Generic/GenericAutoPilotPlugin.h \
src/FirmwarePlugin/CameraMetaData.h \
src/FirmwarePlugin/FirmwarePlugin.h \
src/FirmwarePlugin/FirmwarePluginFactory.h \
src/FirmwarePlugin/FirmwarePluginManager.h \
src/VehicleSetup/VehicleComponent.h \
!iosBuild { !contains(DEFINES, NO_SERIAL_LINK) {
HEADERS += \
src/VehicleSetup/Bootloader.h \
src/VehicleSetup/FirmwareImage.h \
src/VehicleSetup/FirmwareUpgradeController.h \
src/VehicleSetup/PX4FirmwareUpgradeThread.h \
}}
SOURCES += \
src/AutoPilotPlugins/AutoPilotPlugin.cc \
src/AutoPilotPlugins/Common/ESP8266Component.cc \
src/AutoPilotPlugins/Common/ESP8266ComponentController.cc \
src/AutoPilotPlugins/Common/MotorComponent.cc \
src/AutoPilotPlugins/Common/RadioComponentController.cc \
src/AutoPilotPlugins/Common/SyslinkComponent.cc \
src/AutoPilotPlugins/Common/SyslinkComponentController.cc \
src/AutoPilotPlugins/Generic/GenericAutoPilotPlugin.cc \
src/FirmwarePlugin/CameraMetaData.cc \
src/FirmwarePlugin/FirmwarePlugin.cc \
src/FirmwarePlugin/FirmwarePluginFactory.cc \
src/FirmwarePlugin/FirmwarePluginManager.cc \
src/VehicleSetup/VehicleComponent.cc \
!iosBuild { !contains(DEFINES, NO_SERIAL_LINK) {
SOURCES += \
src/VehicleSetup/Bootloader.cc \
src/VehicleSetup/FirmwareImage.cc \