Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
9edcaeea
Commit
9edcaeea
authored
Nov 06, 2020
by
Valentin Platzgummer
Browse files
Options
Browse Files
Download
Plain Diff
merged with upstream 1
parents
c3c2876d
28d2157f
Changes
165
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
165 changed files
with
85505 additions
and
7038 deletions
+85505
-7038
.gitmodules.orig
.gitmodules.orig
+1
-4
CMakeLists.txt
CMakeLists.txt
+83
-150
UnitTest.qrc
UnitTest.qrc
+13
-13
backup-Jenkinsfile.orig
backup-Jenkinsfile.orig
+345
-0
SDL.h.orig
libs/Frameworks/SDL2.framework/Versions/A/Headers/SDL.h.orig
+135
-0
SDL_assert.h.orig
...works/SDL2.framework/Versions/A/Headers/SDL_assert.h.orig
+291
-0
SDL_atomic.h.orig
...works/SDL2.framework/Versions/A/Headers/SDL_atomic.h.orig
+277
-0
SDL_audio.h.orig
...eworks/SDL2.framework/Versions/A/Headers/SDL_audio.h.orig
+826
-0
SDL_bits.h.orig
...meworks/SDL2.framework/Versions/A/Headers/SDL_bits.h.orig
+112
-0
SDL_clipboard.h.orig
...ks/SDL2.framework/Versions/A/Headers/SDL_clipboard.h.orig
+71
-0
SDL_config.h.orig
...works/SDL2.framework/Versions/A/Headers/SDL_config.h.orig
+55
-0
SDL_config_macosx.h.orig
...DL2.framework/Versions/A/Headers/SDL_config_macosx.h.orig
+240
-0
SDL_copying.h.orig
...orks/SDL2.framework/Versions/A/Headers/SDL_copying.h.orig
+20
-0
SDL_cpuinfo.h.orig
...orks/SDL2.framework/Versions/A/Headers/SDL_cpuinfo.h.orig
+188
-0
SDL_endian.h.orig
...works/SDL2.framework/Versions/A/Headers/SDL_endian.h.orig
+260
-0
SDL_error.h.orig
...eworks/SDL2.framework/Versions/A/Headers/SDL_error.h.orig
+76
-0
SDL_events.h.orig
...works/SDL2.framework/Versions/A/Headers/SDL_events.h.orig
+788
-0
SDL_filesystem.h.orig
...s/SDL2.framework/Versions/A/Headers/SDL_filesystem.h.orig
+136
-0
SDL_gamecontroller.h.orig
...L2.framework/Versions/A/Headers/SDL_gamecontroller.h.orig
+390
-0
SDL_gesture.h.orig
...orks/SDL2.framework/Versions/A/Headers/SDL_gesture.h.orig
+87
-0
SDL_haptic.h.orig
...works/SDL2.framework/Versions/A/Headers/SDL_haptic.h.orig
+1238
-0
SDL_hints.h.orig
...eworks/SDL2.framework/Versions/A/Headers/SDL_hints.h.orig
+1135
-0
SDL_joystick.h.orig
...rks/SDL2.framework/Versions/A/Headers/SDL_joystick.h.orig
+408
-0
SDL_keyboard.h.orig
...rks/SDL2.framework/Versions/A/Headers/SDL_keyboard.h.orig
+217
-0
SDL_keycode.h.orig
...orks/SDL2.framework/Versions/A/Headers/SDL_keycode.h.orig
+349
-0
SDL_loadso.h.orig
...works/SDL2.framework/Versions/A/Headers/SDL_loadso.h.orig
+81
-0
SDL_log.h.orig
...ameworks/SDL2.framework/Versions/A/Headers/SDL_log.h.orig
+211
-0
SDL_main.h.orig
...meworks/SDL2.framework/Versions/A/Headers/SDL_main.h.orig
+168
-0
SDL_messagebox.h.orig
...s/SDL2.framework/Versions/A/Headers/SDL_messagebox.h.orig
+144
-0
SDL_mouse.h.orig
...eworks/SDL2.framework/Versions/A/Headers/SDL_mouse.h.orig
+302
-0
SDL_mutex.h.orig
...eworks/SDL2.framework/Versions/A/Headers/SDL_mutex.h.orig
+251
-0
SDL_name.h.orig
...meworks/SDL2.framework/Versions/A/Headers/SDL_name.h.orig
+33
-0
SDL_opengl.h.orig
...works/SDL2.framework/Versions/A/Headers/SDL_opengl.h.orig
+2183
-0
SDL_opengles.h.orig
...rks/SDL2.framework/Versions/A/Headers/SDL_opengles.h.orig
+39
-0
SDL_opengles2.h.orig
...ks/SDL2.framework/Versions/A/Headers/SDL_opengles2.h.orig
+52
-0
SDL_pixels.h.orig
...works/SDL2.framework/Versions/A/Headers/SDL_pixels.h.orig
+470
-0
SDL_platform.h.orig
...rks/SDL2.framework/Versions/A/Headers/SDL_platform.h.orig
+198
-0
SDL_power.h.orig
...eworks/SDL2.framework/Versions/A/Headers/SDL_power.h.orig
+75
-0
SDL_quit.h.orig
...meworks/SDL2.framework/Versions/A/Headers/SDL_quit.h.orig
+58
-0
SDL_rect.h.orig
...meworks/SDL2.framework/Versions/A/Headers/SDL_rect.h.orig
+148
-0
SDL_render.h.orig
...works/SDL2.framework/Versions/A/Headers/SDL_render.h.orig
+931
-0
SDL_rwops.h.orig
...eworks/SDL2.framework/Versions/A/Headers/SDL_rwops.h.orig
+254
-0
SDL_scancode.h.orig
...rks/SDL2.framework/Versions/A/Headers/SDL_scancode.h.orig
+413
-0
SDL_shape.h.orig
...eworks/SDL2.framework/Versions/A/Headers/SDL_shape.h.orig
+144
-0
SDL_stdinc.h.orig
...works/SDL2.framework/Versions/A/Headers/SDL_stdinc.h.orig
+607
-0
SDL_surface.h.orig
...orks/SDL2.framework/Versions/A/Headers/SDL_surface.h.orig
+553
-0
SDL_system.h.orig
...works/SDL2.framework/Versions/A/Headers/SDL_system.h.orig
+279
-0
SDL_syswm.h.orig
...eworks/SDL2.framework/Versions/A/Headers/SDL_syswm.h.orig
+324
-0
SDL_thread.h.orig
...works/SDL2.framework/Versions/A/Headers/SDL_thread.h.orig
+343
-0
SDL_timer.h.orig
...eworks/SDL2.framework/Versions/A/Headers/SDL_timer.h.orig
+115
-0
SDL_touch.h.orig
...eworks/SDL2.framework/Versions/A/Headers/SDL_touch.h.orig
+86
-0
SDL_types.h.orig
...eworks/SDL2.framework/Versions/A/Headers/SDL_types.h.orig
+29
-0
SDL_version.h.orig
...orks/SDL2.framework/Versions/A/Headers/SDL_version.h.orig
+162
-0
SDL_video.h.orig
...eworks/SDL2.framework/Versions/A/Headers/SDL_video.h.orig
+1276
-0
begin_code.h.orig
...works/SDL2.framework/Versions/A/Headers/begin_code.h.orig
+167
-0
close_code.h.orig
...works/SDL2.framework/Versions/A/Headers/close_code.h.orig
+37
-0
Info.plist.orig
...works/SDL2.framework/Versions/A/Resources/Info.plist.orig
+46
-0
LLT_LAPACKE.h.orig
libs/eigen/Eigen/src/Cholesky/LLT_LAPACKE.h.orig
+99
-0
GeneralMatrixMatrixTriangular_BLAS.h.orig
...c/Core/products/GeneralMatrixMatrixTriangular_BLAS.h.orig
+145
-0
GeneralMatrixMatrix_BLAS.h.orig
...n/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h.orig
+122
-0
GeneralMatrixVector_BLAS.h.orig
...n/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h.orig
+136
-0
SelfadjointMatrixMatrix_BLAS.h.orig
...gen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h.orig
+287
-0
SelfadjointMatrixVector_BLAS.h.orig
...gen/src/Core/products/SelfadjointMatrixVector_BLAS.h.orig
+118
-0
TriangularMatrixMatrix_BLAS.h.orig
...igen/src/Core/products/TriangularMatrixMatrix_BLAS.h.orig
+315
-0
TriangularMatrixVector_BLAS.h.orig
...igen/src/Core/products/TriangularMatrixVector_BLAS.h.orig
+255
-0
TriangularSolverMatrix_BLAS.h.orig
...igen/src/Core/products/TriangularSolverMatrix_BLAS.h.orig
+163
-0
ComplexSchur_LAPACKE.h.orig
libs/eigen/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h.orig
+91
-0
RealSchur_LAPACKE.h.orig
libs/eigen/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h.orig
+77
-0
SelfAdjointEigenSolver_LAPACKE.h.orig
...gen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h.orig
+87
-0
InverseImpl.h.orig
libs/eigen/Eigen/src/LU/InverseImpl.h.orig
+415
-0
PartialPivLU_LAPACKE.h.orig
libs/eigen/Eigen/src/LU/PartialPivLU_LAPACKE.h.orig
+83
-0
ColPivHouseholderQR_LAPACKE.h.orig
libs/eigen/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h.orig
+97
-0
HouseholderQR_LAPACKE.h.orig
libs/eigen/Eigen/src/QR/HouseholderQR_LAPACKE.h.orig
+68
-0
JacobiSVD_LAPACKE.h.orig
libs/eigen/Eigen/src/SVD/JacobiSVD_LAPACKE.h.orig
+91
-0
qgroundcontrol.pro.orig
qgroundcontrol.pro.orig
+25
-29
qgroundcontrol.qrc
qgroundcontrol.qrc
+2
-6
qgroundcontrol.qrc.orig
qgroundcontrol.qrc.orig
+40
-242
ADSBVehicle.h.orig
src/ADSB/ADSBVehicle.h.orig
+84
-0
APM-MavCmdInfoCommon.json.orig
src/FirmwarePlugin/APM/APM-MavCmdInfoCommon.json.orig
+95
-0
APM-MavCmdInfoFixedWing.json.orig
src/FirmwarePlugin/APM/APM-MavCmdInfoFixedWing.json.orig
+23
-0
APMParameterFactMetaData.Plane.3.9.xml.orig
...arePlugin/APM/APMParameterFactMetaData.Plane.3.9.xml.orig
+10620
-0
APMParameterFactMetaData.Sub.3.6.xml.orig
...mwarePlugin/APM/APMParameterFactMetaData.Sub.3.6.xml.orig
+12574
-0
Copter3.6.OfflineEditing.params.orig
src/FirmwarePlugin/APM/Copter3.6.OfflineEditing.params.orig
+833
-0
PX4-MavCmdInfoCommon.json.orig
src/FirmwarePlugin/PX4/PX4-MavCmdInfoCommon.json.orig
+23
-0
PX4-MavCmdInfoFixedWing.json.orig
src/FirmwarePlugin/PX4/PX4-MavCmdInfoFixedWing.json.orig
+8
-0
FlyViewMap.qml
src/FlightDisplay/FlyViewMap.qml
+0
-58
FlyViewMap.qml.orig
src/FlightDisplay/FlyViewMap.qml.orig
+1
-84
GuidedActionsController.qml
src/FlightDisplay/GuidedActionsController.qml
+13
-34
GuidedActionsController.qml.orig
src/FlightDisplay/GuidedActionsController.qml.orig
+627
-0
GuidedToolStripAction.qml.orig
src/FlightDisplay/GuidedToolStripAction.qml.orig
+22
-0
qmldir.orig
src/FlightDisplay/qmldir.orig
+19
-0
MissionItemIndicator.qml
src/FlightMap/MapItems/MissionItemIndicator.qml
+2
-15
MissionItemIndicator.qml.orig
src/FlightMap/MapItems/MissionItemIndicator.qml.orig
+67
-0
MissionLineView.qml
src/FlightMap/MapItems/MissionLineView.qml
+0
-11
MissionLineView.qml.orig
src/FlightMap/MapItems/MissionLineView.qml.orig
+47
-0
qmldir
src/FlightMap/qmldir
+0
-30
QGCGeo.cc.orig
src/Geo/QGCGeo.cc.orig
+156
-0
QGCGeo.h.orig
src/Geo/QGCGeo.h.orig
+108
-0
KMLHelper.cc.orig
src/KMLHelper.cc.orig
+167
-0
KMLHelper.h.orig
src/KMLHelper.h.orig
+32
-0
BlankPlanCreator.h.orig
src/MissionManager/BlankPlanCreator.h.orig
+22
-0
MissionController.cc
src/MissionManager/MissionController.cc
+232
-2833
MissionController.cc.orig
src/MissionManager/MissionController.cc.orig
+5480
-0
MissionController.h
src/MissionManager/MissionController.h
+0
-240
MissionController.h.orig
src/MissionManager/MissionController.h.orig
+840
-0
QGCMapPolygon.cc
src/MissionManager/QGCMapPolygon.cc
+0
-45
QGCMapPolygon.cc.orig
src/MissionManager/QGCMapPolygon.cc.orig
+725
-0
QGCMapPolygon.h
src/MissionManager/QGCMapPolygon.h
+11
-135
QGCMapPolygon.h.orig
src/MissionManager/QGCMapPolygon.h.orig
+305
-0
QGCMapPolygonVisuals.qml
src/MissionManager/QGCMapPolygonVisuals.qml
+1
-28
QGCMapPolygonVisuals.qml.orig
src/MissionManager/QGCMapPolygonVisuals.qml.orig
+739
-0
SimpleMissionItem.cc
src/MissionManager/SimpleMissionItem.cc
+1
-35
SimpleMissionItem.cc.orig
src/MissionManager/SimpleMissionItem.cc.orig
+1082
-0
SimpleMissionItem.h
src/MissionManager/SimpleMissionItem.h
+0
-28
SimpleMissionItem.h.orig
src/MissionManager/SimpleMissionItem.h.orig
+240
-0
StructureScanComplexItem.h
src/MissionManager/StructureScanComplexItem.h
+0
-31
StructureScanComplexItem.h.orig
src/MissionManager/StructureScanComplexItem.h.orig
+209
-0
SurveyComplexItem.cc
src/MissionManager/SurveyComplexItem.cc
+1
-121
SurveyComplexItem.cc.orig
src/MissionManager/SurveyComplexItem.cc.orig
+1563
-0
TransectStyleComplexItem.cc
src/MissionManager/TransectStyleComplexItem.cc
+5
-76
TransectStyleComplexItem.cc.orig
src/MissionManager/TransectStyleComplexItem.cc.orig
+1439
-0
TransectStyleComplexItem.h
src/MissionManager/TransectStyleComplexItem.h
+8
-247
TransectStyleComplexItem.h.orig
src/MissionManager/TransectStyleComplexItem.h.orig
+484
-0
UT-MavCmdInfoCommon.json.orig
src/MissionManager/UnitTest/UT-MavCmdInfoCommon.json.orig
+222
-0
UT-MavCmdInfoFixedWing.json.orig
src/MissionManager/UnitTest/UT-MavCmdInfoFixedWing.json.orig
+50
-0
UT-MavCmdInfoRover.json.orig
src/MissionManager/UnitTest/UT-MavCmdInfoRover.json.orig
+8
-0
VisualMissionItem.cc
src/MissionManager/VisualMissionItem.cc
+2
-11
VisualMissionItem.cc.orig
src/MissionManager/VisualMissionItem.cc.orig
+259
-0
QGCApplication.cc
src/QGCApplication.cc
+115
-883
QGCApplication.cc.orig
src/QGCApplication.cc.orig
+1900
-0
QGroundControl.Controls.qmldir
src/QmlControls/QGroundControl.Controls.qmldir
+0
-89
qmldir.orig
src/QmlControls/QGroundControl/FactControls/qmldir.orig
+12
-0
qmldir.orig
src/QmlControls/QGroundControl/PX4/qmldir.orig
+4
-0
QGroundControlQmlGlobal.h
src/QmlControls/QGroundControlQmlGlobal.h
+0
-29
QGroundControlQmlGlobal.h.orig
src/QmlControls/QGroundControlQmlGlobal.h.orig
+322
-0
QmlObjectListModel.cc
src/QmlControls/QmlObjectListModel.cc
+146
-225
QmlObjectListModel.cc.orig
src/QmlControls/QmlObjectListModel.cc.orig
+444
-0
QmlObjectListModel.h
src/QmlControls/QmlObjectListModel.h
+17
-82
QmlObjectListModel.h.orig
src/QmlControls/QmlObjectListModel.h.orig
+164
-0
SectionHeader.qml
src/QmlControls/SectionHeader.qml
+0
-6
SectionHeader.qml.orig
src/QmlControls/SectionHeader.qml.orig
+81
-0
ToolStrip.qml
src/QmlControls/ToolStrip.qml
+2
-304
ToolStrip.qml.orig
src/QmlControls/ToolStrip.qml.orig
+478
-0
CMakeLists.txt
src/Settings/CMakeLists.txt
+0
-4
CMakeLists.txt.orig
src/Settings/CMakeLists.txt.orig
+50
-0
FlyViewSettings.cc
src/Settings/FlyViewSettings.cc
+0
-4
FlyViewSettings.cc.orig
src/Settings/FlyViewSettings.cc.orig
+37
-0
SettingsManager.cc
src/Settings/SettingsManager.cc
+2
-17
SettingsManager.cc.orig
src/Settings/SettingsManager.cc.orig
+92
-0
SettingsManager.h
src/Settings/SettingsManager.h
+4
-16
SettingsManager.h.orig
src/Settings/SettingsManager.h.orig
+142
-0
TerrainQuery.cc
src/Terrain/TerrainQuery.cc
+0
-7
TerrainQuery.cc.orig
src/Terrain/TerrainQuery.cc.orig
+929
-0
Vehicle.h
src/Vehicle/Vehicle.h
+0
-6
Vehicle.h.orig
src/Vehicle/Vehicle.h.orig
+1309
-0
README.md.orig
src/VideoReceiver/README.md.orig
+117
-0
VideoReceiver.pri.orig
src/VideoReceiver/VideoReceiver.pri.orig
+152
-0
main.cc
src/main.cc
+0
-14
main.cc.orig
src/main.cc.orig
+422
-0
MainWindowInner.qml
src/ui/MainWindowInner.qml
+0
-672
MainWindowNative.qml
src/ui/MainWindowNative.qml
+0
-55
GeneralSettings.qml.orig
src/ui/preferences/GeneralSettings.qml.orig
+1168
-0
MainToolBar.qml
src/ui/toolbar/MainToolBar.qml
+0
-119
MainToolBar.qml.orig
src/ui/toolbar/MainToolBar.qml.orig
+353
-0
qgc.ts.orig
translations/qgc.ts.orig
+16958
-0
No files found.
.gitmodules.orig
View file @
9edcaeea
...
...
@@ -5,9 +5,6 @@
path = libs/mavlink/include/mavlink/v2.0
url = https://github.com/mavlink/c_library_v2.git
<<<<<<< HEAD
[submodule "libs/WGS84toCartesian"]
path = libs/WGS84toCartesian
url = https://github.com/chrberger/WGS84toCartesian.git
[submodule "libs/polylabel"]
path = libs/polylabel
url = https://github.com/mapbox/polylabel.git
...
...
@@ -27,10 +24,10 @@
path = libs/or-tools
url = https://github.com/google/or-tools.git
=======
>>>>>>> upstream_merge
[submodule "libs/OpenSSL/android_openssl"]
path = libs/OpenSSL/android_openssl
url = https://github.com/Auterion/android_openssl
[submodule "libs/qmlglsink/gst-plugins-good"]
path = libs/qmlglsink/gst-plugins-good
url = https://github.com/mavlink/gst-plugins-good.git
>>>>>>> upstream_merge
CMakeLists.txt
View file @
9edcaeea
cmake_minimum_required
(
VERSION 3.
2
)
cmake_minimum_required
(
VERSION 3.
10
)
project
(
QGroundControl LANGUAGES CXX
)
project
(
QGroundControl LANGUAGES C
C
XX
)
set_property
(
CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
"Debug;Release;RelWithDebInfo;MinSizeRel;Coverage"
)
set
(
CMAKE_CXX_STANDARD 14
)
set
(
CMAKE_AUTOMOC ON
)
set
(
CMAKE_AUTOUIC ON
)
set
(
CMAKE_AUTORCC ON
)
set
(
CMAKE_INCLUDE_CURRENT_DIR ON
)
include
(
FeatureSummary
)
if
(
"
${
CMAKE_CXX_COMPILER_ID
}
"
STREQUAL
"Clang"
OR
"
${
CMAKE_CXX_COMPILER_ID
}
"
STREQUAL
"GNU"
)
add_compile_options
(
-Wall -Wextra
)
endif
()
# CMake build type
# Debug Release RelWithDebInfo MinSizeRel Coverage
if
(
NOT CMAKE_BUILD_TYPE
)
...
...
@@ -11,37 +23,11 @@ if (NOT CMAKE_BUILD_TYPE)
set
(
CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING
"Build type"
FORCE
)
endif
()
if
(
DEFINED ENV{QT_VERSION}
)
set
(
QT_VERSION $ENV{QT_VERSION}
)
endif
()
if
(
NOT QT_VERSION
)
# try Qt 5.9.5 if none specified
set
(
QT_VERSION
"5.9.5"
)
endif
()
if
(
DEFINED ENV{QT_MKSPEC}
)
set
(
QT_MKSPEC $ENV{QT_MKSPEC}
)
endif
()
if
(
UNIX AND NOT APPLE
)
set
(
LINUX TRUE
)
endif
()
if
(
NOT QT_MKSPEC
)
if
(
APPLE
)
set
(
QT_MKSPEC clang_64
)
elseif
(
LINUX
)
set
(
QT_MKSPEC gcc_64
)
elseif
(
WIN32
)
set
(
QT_MKSPEC msvc2017_64
)
#set(QT_MKSPEC winrt_x64_msvc2017)
endif
()
endif
()
# Add folder where are supportive functions
list
(
APPEND CMAKE_MODULE_PATH
${
CMAKE_SOURCE_DIR
}
/cmake
)
# Configure Qt5 to get necessary variables
include
(
Qt5QGCConfiguration
)
message
(
STATUS
"Build Type:
${
CMAKE_BUILD_TYPE
}
"
)
message
(
STATUS
"Qt version:
${
QT_VERSION
}
"
)
message
(
STATUS
"Qt spec:
${
QT_MKSPEC
}
"
)
...
...
@@ -50,31 +36,14 @@ set(COMPANY "Mavlink")
set
(
COPYRIGHT
"Copyright (c) 2018 QGroundControl. All rights reserved."
)
set
(
IDENTIFIER
"io.mavlink.qgroundcontrol"
)
execute_process
(
COMMAND git submodule update --init
WORKING_DIRECTORY
${
CMAKE_SOURCE_DIR
}
)
execute_process
(
COMMAND git describe --always --tags
OUTPUT_VARIABLE git_tag
OUTPUT_STRIP_TRAILING_WHITESPACE
WORKING_DIRECTORY
${
CMAKE_SOURCE_DIR
}
)
add_definitions
(
-DQGC_APPLICATION_NAME=
"QGCWima
"
-DQGC_ORG_NAME=
"QGCWima
.org"
-DQGC_APPLICATION_NAME=
"QGroundControl
"
-DQGC_ORG_NAME=
"QGroundControl
.org"
-DQGC_ORG_DOMAIN=
"org.qgroundcontrol"
)
message
(
STATUS
"QGroundControl version:
${
git_tag
}
"
)
set
(
CMAKE_CXX_STANDARD 14
)
set
(
CMAKE_AUTOMOC ON
)
set
(
CMAKE_AUTOUIC ON
)
set
(
CMAKE_AUTORCC ON
)
set
(
CMAKE_INCLUDE_CURRENT_DIR ON
)
include
(
Git
)
message
(
STATUS
"QGroundControl version:
${
GIT_VERSION
}
"
)
#=============================================================================
# ccache
...
...
@@ -85,12 +54,67 @@ if (CCACHE AND CCACHE_PROGRAM AND NOT DEFINED ENV{CCACHE_DISABLE})
set_property
(
GLOBAL PROPERTY RULE_LAUNCH_COMPILE
"
${
CCACHE_PROGRAM
}
"
)
endif
()
#=============================================================================
# Compile QML
#
option
(
COMPILE_QML
"Pre-compile QML files using the Qt Quick compiler."
FALSE
)
add_feature_info
(
COMPILE_QML COMPILE_QML
"Pre-compile QML files using the Qt Quick compiler."
)
if
(
COMPILE_QML
)
find_package
(
Qt5QuickCompiler
)
set_package_properties
(
Qt5QuickCompiler PROPERTIES
DESCRIPTION
"Pre-compile QML files using the Qt Quick compiler."
TYPE OPTIONAL
)
endif
()
#=============================================================================
# Debug QML
#
option
(
DEBUG_QML
"Build QGroundControl with QML debugging/profiling support."
FALSE
)
add_feature_info
(
DEBUG_QML DEBUG_QML
"Build QGroundControl with QML debugging/profiling support."
)
if
(
DEBUG_QML
)
message
(
STATUS
"To enable the QML debugger/profiler, run with: '-qmljsdebugger=port:1234'"
)
add_definitions
(
-DQMLJSDEBUGGER
)
add_definitions
(
-DQT_DECLARATIVE_DEBUG
)
add_definitions
(
-DQT_QML_DEBUG
)
endif
()
#=============================================================================
# GStreamer
#
find_package
(
PkgConfig
)
pkg_check_modules
(
GST
gstreamer-1.0>=1.14
gstreamer-video-1.0>=1.14
gstreamer-gl-1.0>=1.14
egl
)
if
(
GST_FOUND
)
include_directories
(
${
GST_INCLUDE_DIRS
}
src/Taisync
src/Microhard
)
add_definitions
(
-DQGC_GST_STREAMING
-DQGC_GST_TAISYNC_ENABLED
-DQGC_GST_MICROHARD_ENABLED
)
endif
()
add_definitions
(
-DQGC_ENABLE_MAVLINK_INSPECTOR
)
#=============================================================================
# Qt5
#
find_package
(
Qt5
${
QT_VERSION
}
COMPONENTS
Bluetooth
Charts
Concurrent
Core
Location
...
...
@@ -98,7 +122,9 @@ find_package(Qt5 ${QT_VERSION}
Network
Positioning
Quick
QuickControls2
QuickWidgets
OpenGL
Sql
Svg
Test
...
...
@@ -107,9 +133,7 @@ find_package(Qt5 ${QT_VERSION}
Xml
REQUIRED
HINTS
$ENV{HOME}/Qt/
${
QT_VERSION
}
/
${
QT_MKSPEC
}
$ENV{QT_PATH}/
${
QT_VERSION
}
/
${
QT_MKSPEC
}
C:/Qt
${
QT_LIBRARY_HINTS
}
)
if
(
NOT QT_MKSPEC MATCHES
"winrt"
)
...
...
@@ -118,50 +142,12 @@ if(NOT QT_MKSPEC MATCHES "winrt")
SerialPort
REQUIRED
HINTS
$ENV{HOME}/Qt/
${
QT_VERSION
}
/
${
QT_MKSPEC
}
$ENV{QT_PATH}/
${
QT_VERSION
}
/
${
QT_MKSPEC
}
C:/Qt
)
endif
()
if
(
${
CMAKE_BUILD_TYPE
}
MATCHES
"Debug"
)
include
(
CTest
)
enable_testing
()
add_definitions
(
-DUNITTEST_BUILD
)
endif
()
if
(
CMAKE_CXX_COMPILER_ID MATCHES
"Clang"
)
# clang and AppleClang
add_compile_options
(
-Wall
-Wextra
-Wno-address-of-packed-member
# ignore for mavlink
)
elseif
(
CMAKE_CXX_COMPILER_ID STREQUAL
"GNU"
)
# GCC
if
(
CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.9
)
add_compile_options
(
-fdiagnostics-color=always
)
endif
()
add_compile_options
(
-Wall
-Wextra
${
QT_LIBRARY_HINTS
}
)
elseif
(
WIN32
)
add_definitions
(
-D_USE_MATH_DEFINES
)
add_compile_options
(
/wd4244
# warning C4244: '=': conversion from 'double' to 'float', possible loss of data
)
endif
()
# TODO: get qtquick compiler working
#qtquick_compiler_add_resources(QGC_RESOURCES ${QGC_RESOURCES}
#find_package(Qt5QuickCompiler)
# Sets the default flags for compilation and linking.
include
(
CompileOptions
)
include_directories
(
libs/eigen
...
...
@@ -177,11 +163,9 @@ add_subdirectory(libs)
add_subdirectory
(
src
)
set
(
QGC_RESOURCES
#HackAndroidFileDialog.qrc
HackFileDialog.qrc
qgcresources.qrc
qgroundcontrol.qrc
qgcimages.qrc
src/FirmwarePlugin/APM/APMResources.qrc
src/FirmwarePlugin/PX4/PX4Resources.qrc
src/Airmap/airmap.qrc
...
...
@@ -213,56 +197,5 @@ if(NOT QT_MKSPEC MATCHES "winrt")
)
endif
()
if
(
LINUX
)
elseif
(
APPLE
)
get_target_property
(
_qmake_executable Qt5::qmake IMPORTED_LOCATION
)
get_filename_component
(
_qt_bin_dir
"
${
_qmake_executable
}
"
DIRECTORY
)
find_program
(
MACDEPLOYQT_EXECUTABLE macdeployqt HINTS
"
${
_qt_bin_dir
}
"
)
add_custom_command
(
TARGET QGroundControl
POST_BUILD
COMMAND
${
MACDEPLOYQT_EXECUTABLE
}
$<TARGET_FILE_DIR:QGroundControl>/../.. -appstore-compliant -qmldir=
${
CMAKE_SOURCE_DIR
}
/src
COMMAND
rsync -a
${
CMAKE_SOURCE_DIR
}
/libs/lib/Frameworks $<TARGET_FILE_DIR:QGroundControl>/../../Contents/
COMMAND
${
CMAKE_INSTALL_NAME_TOOL
}
-change
"@rpath/SDL2.framework/Versions/A/SDL2"
"@executable_path/../Frameworks/SDL2.framework/Versions/A/SDL2"
$<TARGET_FILE:QGroundControl>
)
set_target_properties
(
QGroundControl PROPERTIES MACOSX_BUNDLE YES
)
elseif
(
WIN32
)
if
(
MSVC
)
# Check if we are using the Visual Studio compiler
set_target_properties
(
${
PROJECT_NAME
}
PROPERTIES
WIN32_EXECUTABLE YES
LINK_FLAGS
"/ENTRY:mainCRTStartup"
)
endif
()
# deploy
include
(
Windeployqt
)
windeployqt
(
QGroundControl
"QGroundControl-installer.exe"
)
elseif
(
ANDROID
)
include
(
AddQtAndroidApk
)
add_qt_android_apk
(
QGroundControl.apk QGroundControl
PACKAGE_NAME
"io.mavlink.qgroundcontrol"
#KEYSTORE ${CMAKE_CURRENT_LIST_DIR}/mykey.keystore myalias
#KEYSTORE_PASSWORD xxxxx
)
elseif
(
LINUX
)
# TODO: investigate https://github.com/probonopd/linuxdeployqt
add_custom_command
(
OUTPUT
${
CMAKE_BINARY_DIR
}
/release/package/QGroundControl.AppImage
COMMAND
${
CMAKE_SOURCE_DIR
}
/deploy/create_linux_appimage.sh
${
CMAKE_SOURCE_DIR
}
${
CMAKE_BINARY_DIR
}
${
CMAKE_BINARY_DIR
}
/release/package;
DEPENDS QGroundControl
USES_TERMINAL
)
add_custom_target
(
appimage DEPENDS
${
CMAKE_BINARY_DIR
}
/release/package/QGroundControl.AppImage
)
endif
()
include
(
QGCDeploy
)
UnitTest.qrc
View file @
9edcaeea
<RCC>
<qresource prefix="/unittest">
<file alias="SectionTest.plan">src/MissionManager/UnitTest/SectionTest.plan</file>
<file alias="
MavCmdInfoCommon.json">src/MissionManager/UnitTest/
MavCmdInfoCommon.json</file>
<file alias="
MavCmdInfoFixedWing.json">src/MissionManager/UnitTest/
MavCmdInfoFixedWing.json</file>
<file alias="
MavCmdInfoMultiRotor.json">src/MissionManager/UnitTest/
MavCmdInfoMultiRotor.json</file>
<file alias="
MavCmdInfoRover.json">src/MissionManager/UnitTest/
MavCmdInfoRover.json</file>
<file alias="
MavCmdInfoSub.json">src/MissionManager/UnitTest/
MavCmdInfoSub.json</file>
<file alias="
MavCmdInfoVTOL.json">src/MissionManager/UnitTest/
MavCmdInfoVTOL.json</file>
<file alias="SectionTest.plan">src/MissionManager/UnitTest/SectionTest.plan</file>
<file alias="
UT-MavCmdInfoCommon.json">src/MissionManager/UnitTest/UT-
MavCmdInfoCommon.json</file>
<file alias="
UT-MavCmdInfoFixedWing.json">src/MissionManager/UnitTest/UT-
MavCmdInfoFixedWing.json</file>
<file alias="
UT-MavCmdInfoMultiRotor.json">src/MissionManager/UnitTest/UT-
MavCmdInfoMultiRotor.json</file>
<file alias="
UT-MavCmdInfoRover.json">src/MissionManager/UnitTest/UT-
MavCmdInfoRover.json</file>
<file alias="
UT-MavCmdInfoSub.json">src/MissionManager/UnitTest/UT-
MavCmdInfoSub.json</file>
<file alias="
UT-MavCmdInfoVTOL.json">src/MissionManager/UnitTest/UT-
MavCmdInfoVTOL.json</file>
<file alias="MissionPlanner.waypoints">src/MissionManager/UnitTest/MissionPlanner.waypoints</file>
<file alias="OldFileFormat.mission">src/MissionManager/UnitTest/OldFileFormat.mission</file>
<file alias="PolygonAreaTest.kml">src/MissionManager/UnitTest/PolygonAreaTest.kml</file>
<file alias="PolygonGood.kml">src/MissionManager/UnitTest/PolygonGood.kml</file>
<file alias="PolygonMissingNode.kml">src/MissionManager/UnitTest/PolygonMissingNode.kml</file>
<file alias="PolygonBadXml.kml">src/MissionManager/UnitTest/PolygonBadXml.kml</file>
<file alias="PolygonBadCoordinatesNode.kml">src/MissionManager/UnitTest/PolygonBadCoordinatesNode.kml</file>
<file alias="PolygonAreaTest.kml">src/MissionManager/UnitTest/PolygonAreaTest.kml</file>
<file alias="PolygonGood.kml">src/MissionManager/UnitTest/PolygonGood.kml</file>
<file alias="PolygonMissingNode.kml">src/MissionManager/UnitTest/PolygonMissingNode.kml</file>
<file alias="PolygonBadXml.kml">src/MissionManager/UnitTest/PolygonBadXml.kml</file>
<file alias="PolygonBadCoordinatesNode.kml">src/MissionManager/UnitTest/PolygonBadCoordinatesNode.kml</file>
<file alias="MockLinkOptionsDlg.qml">src/comm/MockLinkOptionsDlg.qml</file>
</qresource>
<qresource prefix="/"/>
</RCC>
backup-Jenkinsfile.orig
0 → 100644
View file @
9edcaeea
This diff is collapsed.
Click to expand it.
libs/Frameworks/SDL2.framework/Versions/A/Headers/SDL.h.orig
0 → 100644
View file @
9edcaeea
/*
Simple DirectMedia Layer
Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
/**
* \file SDL.h
*
* Main include header for the SDL library
*/
#ifndef SDL_h_
#define SDL_h_
#include "SDL_main.h"
#include "SDL_stdinc.h"
#include "SDL_assert.h"
#include "SDL_atomic.h"
#include "SDL_audio.h"
#include "SDL_clipboard.h"
#include "SDL_cpuinfo.h"
#include "SDL_endian.h"
#include "SDL_error.h"
#include "SDL_events.h"
#include "SDL_filesystem.h"
#include "SDL_gamecontroller.h"
#include "SDL_haptic.h"
#include "SDL_hints.h"
#include "SDL_joystick.h"
#include "SDL_loadso.h"
#include "SDL_log.h"
#include "SDL_messagebox.h"
#include "SDL_mutex.h"
#include "SDL_power.h"
#include "SDL_render.h"
#include "SDL_rwops.h"
#include "SDL_sensor.h"
#include "SDL_shape.h"
#include "SDL_system.h"
#include "SDL_thread.h"
#include "SDL_timer.h"
#include "SDL_version.h"
#include "SDL_video.h"
#include "begin_code.h"
/* Set up for C function definitions, even when using C++ */
#ifdef __cplusplus
extern "C" {
#endif
/* As of version 0.5, SDL is loaded dynamically into the application */
/**
* \name SDL_INIT_*
*
* These are the flags which may be passed to SDL_Init(). You should
* specify the subsystems which you will be using in your application.
*/
/* @{ */
#define SDL_INIT_TIMER 0x00000001u
#define SDL_INIT_AUDIO 0x00000010u
#define SDL_INIT_VIDEO 0x00000020u /**< SDL_INIT_VIDEO implies SDL_INIT_EVENTS */
#define SDL_INIT_JOYSTICK 0x00000200u /**< SDL_INIT_JOYSTICK implies SDL_INIT_EVENTS */
#define SDL_INIT_HAPTIC 0x00001000u
#define SDL_INIT_GAMECONTROLLER 0x00002000u /**< SDL_INIT_GAMECONTROLLER implies SDL_INIT_JOYSTICK */
#define SDL_INIT_EVENTS 0x00004000u
#define SDL_INIT_SENSOR 0x00008000u
#define SDL_INIT_NOPARACHUTE 0x00100000u /**< compatibility; this flag is ignored. */
#define SDL_INIT_EVERYTHING ( \
SDL_INIT_TIMER | SDL_INIT_AUDIO | SDL_INIT_VIDEO | SDL_INIT_EVENTS | \
SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_GAMECONTROLLER | SDL_INIT_SENSOR \
)
/* @} */
/**
* This function initializes the subsystems specified by \c flags
*/
extern DECLSPEC int SDLCALL SDL_Init(Uint32 flags);
/**
* This function initializes specific SDL subsystems
*
* Subsystem initialization is ref-counted, you must call
* SDL_QuitSubSystem() for each SDL_InitSubSystem() to correctly
* shutdown a subsystem manually (or call SDL_Quit() to force shutdown).
* If a subsystem is already loaded then this call will
* increase the ref-count and return.
*/
extern DECLSPEC int SDLCALL SDL_InitSubSystem(Uint32 flags);
/**
* This function cleans up specific SDL subsystems
*/
extern DECLSPEC void SDLCALL SDL_QuitSubSystem(Uint32 flags);
/**
* This function returns a mask of the specified subsystems which have
* previously been initialized.
*
* If \c flags is 0, it returns a mask of all initialized subsystems.
*/
extern DECLSPEC Uint32 SDLCALL SDL_WasInit(Uint32 flags);
/**
* This function cleans up all initialized subsystems. You should
* call it upon all exit conditions.
*/
extern DECLSPEC void SDLCALL SDL_Quit(void);
/* Ends C function definitions when using C++ */
#ifdef __cplusplus
}
#endif
#include "close_code.h"
#endif /* SDL_h_ */
/* vi: set ts=4 sw=4 expandtab: */
libs/Frameworks/SDL2.framework/Versions/A/Headers/SDL_assert.h.orig
0 → 100644
View file @
9edcaeea
This diff is collapsed.
Click to expand it.
libs/Frameworks/SDL2.framework/Versions/A/Headers/SDL_atomic.h.orig
0 → 100644
View file @
9edcaeea
This diff is collapsed.
Click to expand it.
libs/Frameworks/SDL2.framework/Versions/A/Headers/SDL_audio.h.orig
0 → 100644
View file @
9edcaeea
This diff is collapsed.
Click to expand it.
libs/Frameworks/SDL2.framework/Versions/A/Headers/SDL_bits.h.orig
0 → 100644
View file @
9edcaeea
/*
Simple DirectMedia Layer
Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
/**
* \file SDL_bits.h
*
* Functions for fiddling with bits and bitmasks.
*/
#ifndef SDL_bits_h_
#define SDL_bits_h_
#include "SDL_stdinc.h"
#include "begin_code.h"
/* Set up for C function definitions, even when using C++ */
#ifdef __cplusplus
extern "C" {
#endif
/**
* \file SDL_bits.h
*/
/**
* Get the index of the most significant bit. Result is undefined when called
* with 0. This operation can also be stated as "count leading zeroes" and
* "log base 2".
*
* \return Index of the most significant bit, or -1 if the value is 0.
*/
#if defined(__WATCOMC__) && defined(__386__)
extern _inline int _SDL_clz_watcom (Uint32);
#pragma aux _SDL_clz_watcom = \
"bsr eax, eax" \
"xor eax, 31" \
parm [eax] nomemory \
value [eax] \
modify exact [eax] nomemory;
#endif
SDL_FORCE_INLINE int
SDL_MostSignificantBitIndex32(Uint32 x)
{
#if defined(__GNUC__) && (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
/* Count Leading Zeroes builtin in GCC.
* http://gcc.gnu.org/onlinedocs/gcc-4.3.4/gcc/Other-Builtins.html
*/
if (x == 0) {
return -1;
}
return 31 - __builtin_clz(x);
#elif defined(__WATCOMC__) && defined(__386__)
if (x == 0) {
return -1;
}
return 31 - _SDL_clz_watcom(x);
#else
/* Based off of Bit Twiddling Hacks by Sean Eron Anderson
* <seander@cs.stanford.edu>, released in the public domain.
* http://graphics.stanford.edu/~seander/bithacks.html#IntegerLog
*/
const Uint32 b[] = {0x2, 0xC, 0xF0, 0xFF00, 0xFFFF0000};
const int S[] = {1, 2, 4, 8, 16};
int msbIndex = 0;
int i;
if (x == 0) {
return -1;
}
for (i = 4; i >= 0; i--)
{
if (x & b[i])
{
x >>= S[i];
msbIndex |= S[i];
}
}
return msbIndex;
#endif
}
/* Ends C function definitions when using C++ */
#ifdef __cplusplus
}
#endif
#include "close_code.h"
#endif /* SDL_bits_h_ */
/* vi: set ts=4 sw=4 expandtab: */
libs/Frameworks/SDL2.framework/Versions/A/Headers/SDL_clipboard.h.orig
0 → 100644
View file @
9edcaeea
/*
Simple DirectMedia Layer
Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
/**
* \file SDL_clipboard.h
*
* Include file for SDL clipboard handling
*/
#ifndef SDL_clipboard_h_
#define SDL_clipboard_h_
#include "SDL_stdinc.h"
#include "begin_code.h"
/* Set up for C function definitions, even when using C++ */
#ifdef __cplusplus
extern "C" {
#endif
/* Function prototypes */
/**
* \brief Put UTF-8 text into the clipboard
*
* \sa SDL_GetClipboardText()
*/
extern DECLSPEC int SDLCALL SDL_SetClipboardText(const char *text);
/**
* \brief Get UTF-8 text from the clipboard, which must be freed with SDL_free()
*
* \sa SDL_SetClipboardText()
*/
extern DECLSPEC char * SDLCALL SDL_GetClipboardText(void);
/**
* \brief Returns a flag indicating whether the clipboard exists and contains a text string that is non-empty
*