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
1f7e986d
Commit
1f7e986d
authored
Jul 20, 2014
by
Lorenz Meier
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #756 from Susurrus/build_fixes5
Some build improvements
parents
20e14910
4b7c5871
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
14 deletions
+38
-14
README.md
README.md
+11
-3
qgroundcontrol.pro
qgroundcontrol.pro
+26
-10
GAudioOutput.cc
src/GAudioOutput.cc
+1
-1
No files found.
README.md
View file @
1f7e986d
...
...
@@ -56,7 +56,15 @@ QGroundControl can talk to XBee wireless devices using their proprietary protoco
To disable XBee support you may add
`DISABLE_XBEE`
to the DEFINES argument.
# Build on Mac OSX
## Building QGroundControl
### Requirements
QGroundControl requires Qt5.2+ and SDL1.2 at a minimum. Additionally, only the following platform targets are supported:
*
Windows: Microsoft Visual Studio 2010, 2012, 2013
*
Linux: gcc, 32- or 64-bit
*
Mac: LLVM+clang 64-bit
## Build on Mac OSX
To build on Mac OSX (10.6 or later):
- - -
...
...
@@ -79,7 +87,7 @@ To build on Mac OSX (10.6 or later):
3.
Run
`make -j4`
# Build on Linux
#
#
Build on Linux
To build on Linux:
- - -
...
...
@@ -120,7 +128,7 @@ To build on Linux:
6.
Run qgroundcontrol
1.
`./release/qgroundcontrol`
# Build on Windows
#
#
Build on Windows
- - -
Only compilation using Visual Studio 2010, 2012, and 2013 are supported.
...
...
qgroundcontrol.pro
View file @
1f7e986d
...
...
@@ -23,17 +23,33 @@ message(Qt version $$[QT_VERSION])
#
to
allow
us
to
easily
modify
suported
build
types
in
one
place
instead
of
duplicated
throughout
#
the
project
file
.
linux
-
g
++
|
linux
-
g
++-
64
{
message
(
Linux
build
)
CONFIG
+=
LinuxBuild
}
else
:
win32
-
msvc2008
|
win32
-
msvc2010
|
win32
-
msvc2012
|
win32
-
msvc2013
{
message
(
Windows
build
)
CONFIG
+=
WindowsBuild
}
else
:
macx
-
clang
|
macx
-
llvm
{
message
(
Mac
build
)
CONFIG
+=
MacBuild
!
equals
(
QT_MAJOR_VERSION
,
5
)
|
!
greaterThan
(
QT_MINOR_VERSION
,
1
)
{
error
(
"Unsupported Qt version, 5.2+ is required"
)
}
linux
{
linux
-
g
++
|
linux
-
g
++-
64
{
message
(
"Linux build"
)
CONFIG
+=
LinuxBuild
}
else
{
error
(
"Unsuported Linux toolchain, only GCC 32- or 64-bit is supported"
)
}
}
else
:
win32
{
win32
-
msvc2010
|
win32
-
msvc2012
|
win32
-
msvc2013
{
message
(
"Windows build"
)
CONFIG
+=
WindowsBuild
}
else
{
error
(
"Unsupported Windows toolchain, only Visual Studio 2010, 2012, and 2013 are supported"
)
}
}
else
:
macx
{
macx
-
clang
|
macx
-
llvm
{
message
(
"Mac build"
)
CONFIG
+=
MacBuild
}
else
{
error
(
"Unsupported Mac toolchain, only 64-bit LLVM+clang is supported"
)
}
}
else
{
error
(
Unsupported
build
type
)
error
(
"Unsupported build platform, only Linux, Windows, and Mac are supported"
)
}
#
Installer
configuration
...
...
src/GAudioOutput.cc
View file @
1f7e986d
...
...
@@ -118,7 +118,7 @@ GAudioOutput::GAudioOutput(QObject *parent) : QObject(parent),
if
(
FAILED
(
hr
))
{
qDebug
()
<<
"ERROR: Initializing voice for audio output failed!"
)
;
qDebug
()
<<
"ERROR: Initializing voice for audio output failed!"
;
}
}
...
...
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