Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
abb96a4e
Commit
abb96a4e
authored
May 22, 2020
by
Aleksey Kontsevich
Browse files
-Waddress-of-packed-member build error fix
Also fixed custom build
parent
1f178d2b
Changes
4
Hide whitespace changes
Inline
Side-by-side
custom-example/custom.pri
View file @
abb96a4e
...
...
@@ -42,7 +42,7 @@ DEFINES += QGC_ORG_NAME=\"\\\"qgroundcontrol.org\\\"\"
DEFINES += QGC_ORG_DOMAIN=\"\\\"org.qgroundcontrol\\\"\"
QGC_APP_NAME = "Custom QGroundControl"
QGC_BINARY_NAME = "
CustomQGroundControl
"
QGC_BINARY_NAME = "
MyGroundStation
"
QGC_ORG_NAME = "Custom"
QGC_ORG_DOMAIN = "org.custom"
QGC_APP_DESCRIPTION = "Custom QGroundControl"
...
...
custom-example/src/FirmwarePlugin/CustomFirmwarePlugin.cc
View file @
abb96a4e
...
...
@@ -52,4 +52,5 @@ bool CustomFirmwarePlugin::hasGimbal(Vehicle* /*vehicle*/, bool& rollSupported,
rollSupported
=
false
;
pitchSupported
=
true
;
yawSupported
=
true
;
return
true
;
}
src/Vehicle/Vehicle.h
View file @
abb96a4e
...
...
@@ -9,6 +9,11 @@
#pragma once
#if __GNUC__ > 8
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Waddress-of-packed-member"
#endif
#include
<QElapsedTimer>
#include
<QObject>
#include
<QVariantList>
...
...
src/uas/UAS.h
View file @
abb96a4e
...
...
@@ -13,6 +13,11 @@
#pragma once
#if __GNUC__ > 8
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Waddress-of-packed-member"
#endif
#include
"UASInterface.h"
#include
<MAVLinkProtocol.h>
#include
<QVector3D>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment