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
cfd82a5e
Commit
cfd82a5e
authored
Oct 26, 2010
by
lm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensured that a default-configured QGroundControl src repo compiles
parent
4fe9707c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
25 deletions
+41
-25
qgroundcontrol.pro
qgroundcontrol.pro
+28
-2
QGCMAVLink.h
src/comm/QGCMAVLink.h
+8
-6
user_config.pri.dist
user_config.pri.dist
+5
-17
No files found.
qgroundcontrol.pro
View file @
cfd82a5e
...
...
@@ -51,11 +51,38 @@ OBJECTS_DIR = $$BUILDDIR/obj
MOC_DIR
=
$$
BUILDDIR
/
moc
UI_HEADERS_DIR
=
src
/
ui
/
generated
MAVLINK_CONF
=
""
exists
(
user_config
.
pri
)
{
message
(
"----- USING USER QGROUNDCONTROL CONFIG FROM user_config.pri -----"
)
include
(
user_config
.
pri
)
}
INCLUDEPATH
+=
$$
BASEDIR
/../
mavlink
/
include
/
common
contains
(
MAVLINK_CONF
,
pixhawk
)
{
#
Remove
the
default
set
-
it
is
included
anyway
INCLUDEPATH
-=
$$
BASEDIR
/../
mavlink
/
include
/
common
#
PIXHAWK
SPECIAL
MESSAGES
INCLUDEPATH
+=
$$
BASEDIR
/../
mavlink
/
include
/
pixhawk
DEFINES
+=
QGC_USE_PIXHAWK_MESSAGES
}
contains
(
MAVLINK_CONF
,
slugs
)
{
#
Remove
the
default
set
-
it
is
included
anyway
INCLUDEPATH
-=
$$
BASEDIR
/../
mavlink
/
include
/
common
#
SLUGS
SPECIAL
MESSAGES
INCLUDEPATH
+=
$$
BASEDIR
/../
mavlink
/
include
/
slugs
DEFINES
+=
QGC_USE_SLUGS_MESSAGES
}
contains
(
MAVLINK_CONF
,
ualberta
)
{
#
Remove
the
default
set
-
it
is
included
anyway
INCLUDEPATH
-=
$$
BASEDIR
/../
mavlink
/
include
/
common
#
UALBERTA
SPECIAL
MESSAGES
INCLUDEPATH
+=
$$
BASEDIR
/../
mavlink
/
include
/
ualberta
DEFINES
+=
QGC_USE_UALBERTA_MESSAGES
}
#
}
#
Include
general
settings
for
MAVGround
...
...
@@ -75,8 +102,7 @@ DEPENDPATH += . \
plugins
INCLUDEPATH
+=
.
\
lib
/
QMapControl
\
$$
BASEDIR
/../
mavlink
/
include
\
$$
BASEDIR
/../
mavlink
/
include
/
common
$$
BASEDIR
/../
mavlink
/
include
#
..
/
mavlink
/
include
\
#
MAVLink
/
include
\
...
...
src/comm/QGCMAVLink.h
View file @
cfd82a5e
...
...
@@ -33,20 +33,22 @@ This file is part of the QGROUNDCONTROL project
#include <mavlink_types.h>
#include <mavlink.h>
//
#ifdef QGC_USE_PIXHAWK_MESSAGES
#ifdef QGC_USE_PIXHAWK_MESSAGES
#include <pixhawk.h>
//
#endif
#endif
//
#ifdef QGC_USE_SLUGS_MESSAGES
#ifdef QGC_USE_SLUGS_MESSAGES
#include <slugs.h>
//
#endif
#endif
//
#ifdef QGC_USE_UALBERTA_MESSAGES
#ifdef QGC_USE_UALBERTA_MESSAGES
#include <ualberta.h>
//
#endif
#endif
#ifdef QGC_USE_ARDUPILOT_MESSAGES
#include <ardupilot.h>
#endif
#endif // QGCMAVLINK_H
user_config.pri.dist
View file @
cfd82a5e
...
...
@@ -23,22 +23,10 @@
#
#-------------------------------------------------
# Uncomment ONE of these lines to enable the special message set of a project.
# Several message sets can be also enabled in parallel, as long as function names
# and message ids do not conflict.
# Add or remove custom message specs here. The matching mavlink headers are
# included in the main qgroundcontrol.pro file.
# Remove the default set - it is included anyway
INCLUDEPATH -= $$BASEDIR/../mavlink/include/common
# PIXHAWK SPECIAL MESSAGES
INCLUDEPATH += $$BASEDIR/../mavlink/include/pixhawk
DEFINES += QGC_USE_PIXHAWK_MESSAGES
# SLUGS SPECIAL MESSAGES
INCLUDEPATH += $$BASEDIR/../mavlink/include/slugs
DEFINES += QGC_USE_SLUGS_MESSAGES
# UALBERTA SPECIAL MESSAGES
INCLUDEPATH += $$BASEDIR/../mavlink/include/ualberta
DEFINES += QGC_USE_UALBERTA_MESSAGES
MAVLINK_CONF += pixhawk \
slugs \
ualberta
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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