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
2d31004d
Commit
2d31004d
authored
Sep 08, 2015
by
dogmaphobic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Recovering lost initial changes
parent
f323f850
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
8 deletions
+29
-8
.gitignore
.gitignore
+1
-0
QGCSetup.pri
QGCSetup.pri
+0
-4
Vehicle.cc
src/Vehicle/Vehicle.cc
+4
-3
VideoStreaming.pri
src/VideoStreaming/VideoStreaming.pri
+24
-1
No files found.
.gitignore
View file @
2d31004d
...
@@ -55,6 +55,7 @@ thirdParty/qserialport/bin/
...
@@ -55,6 +55,7 @@ thirdParty/qserialport/bin/
thirdParty/qserialport/lib/
thirdParty/qserialport/lib/
libs/thirdParty/libxbee/lib/
libs/thirdParty/libxbee/lib/
GeneratedFiles/
GeneratedFiles/
gstreamer-1.0-android*
*.autosave
*.autosave
.settings/
.settings/
...
...
QGCSetup.pri
View file @
2d31004d
...
@@ -19,10 +19,6 @@
...
@@ -19,10 +19,6 @@
QMAKE_POST_LINK += echo "Copying files"
QMAKE_POST_LINK += echo "Copying files"
AndroidBuild {
INSTALLS += $$DESTDIR
}
#
#
# Copy the application resources to the associated place alongside the application
# Copy the application resources to the associated place alongside the application
#
#
...
...
src/Vehicle/Vehicle.cc
View file @
2d31004d
...
@@ -899,10 +899,9 @@ void Vehicle::setJoystickEnabled(bool enabled)
...
@@ -899,10 +899,9 @@ void Vehicle::setJoystickEnabled(bool enabled)
void
Vehicle
::
_startJoystick
(
bool
start
)
void
Vehicle
::
_startJoystick
(
bool
start
)
{
{
#ifndef __mobile__
Joystick
*
joystick
=
JoystickManager
::
instance
()
->
activeJoystick
();
Joystick
*
joystick
=
JoystickManager
::
instance
()
->
activeJoystick
();
if
(
joystick
)
{
if
(
joystick
)
{
#ifndef __mobile__
if
(
start
)
{
if
(
start
)
{
if
(
_joystickEnabled
)
{
if
(
_joystickEnabled
)
{
joystick
->
startPolling
(
this
);
joystick
->
startPolling
(
this
);
...
@@ -910,8 +909,10 @@ void Vehicle::_startJoystick(bool start)
...
@@ -910,8 +909,10 @@ void Vehicle::_startJoystick(bool start)
}
else
{
}
else
{
joystick
->
stopPolling
();
joystick
->
stopPolling
();
}
}
#endif
}
}
#else
Q_UNUSED
(
start
);
#endif
}
}
bool
Vehicle
::
active
(
void
)
bool
Vehicle
::
active
(
void
)
...
...
src/VideoStreaming/VideoStreaming.pri
View file @
2d31004d
...
@@ -56,7 +56,26 @@ LinuxBuild {
...
@@ -56,7 +56,26 @@ LinuxBuild {
INCLUDEPATH += \
INCLUDEPATH += \
$$GST_ROOT/include/gstreamer-1.0 \
$$GST_ROOT/include/gstreamer-1.0 \
$$GST_ROOT/include/glib-2.0 \
$$GST_ROOT/include/glib-2.0 \
$$GST_ROOT/lib/gstreamer-1.0\include \
$$GST_ROOT/lib/gstreamer-1.0/include \
$$GST_ROOT/lib/glib-2.0/include
}
} else:AndroidBuild {
#- gstreamer assumed to be installed in $$PWD/../../android/gstreamer-1.0-android-armv7-1.5.2
GST_ROOT = $$PWD/../../gstreamer-1.0-android-armv7-1.5.2
exists($$GST_ROOT) {
QMAKE_CXXFLAGS += -pthread
CONFIG += VideoEnabled
LIBS += -L$$GST_ROOT/lib \
-lgstvideo-1.0 \
-lgstfft-1.0 -lm \
-lgstnet-1.0 -lgio-2.0 \
-lgstaudio-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 \
-Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lorc-0.4 -liconv -lffi -lintl
INCLUDEPATH += \
$$GST_ROOT/include/gstreamer-1.0 \
$$GST_ROOT/lib/gstreamer-1.0/include \
$$GST_ROOT/include/glib-2.0 \
$$GST_ROOT/lib/glib-2.0/include
$$GST_ROOT/lib/glib-2.0/include
}
}
}
}
...
@@ -138,6 +157,10 @@ VideoEnabled {
...
@@ -138,6 +157,10 @@ VideoEnabled {
message(" Select the devel AND runtime packages and install them (x86, not the 64-Bit)")
message(" Select the devel AND runtime packages and install them (x86, not the 64-Bit)")
message(" It will be installed in C:/gstreamer. You need to update you PATH to point to the bin directory.")
message(" It will be installed in C:/gstreamer. You need to update you PATH to point to the bin directory.")
}
}
AndroidBuild {
message(" You can download it from http://gstreamer.freedesktop.org/data/pkg/android/")
message(" Uncompress the archive into the qgc root source directory (same directory where qgroundcontrol.pro is found.")
}
} else {
} else {
message("Skipping support for video streaming (Unsupported platform)")
message("Skipping support for video streaming (Unsupported platform)")
}
}
...
...
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