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
94815cd5
Commit
94815cd5
authored
Nov 15, 2015
by
Daniel Agar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
linux include required libraries
parent
92db6e3c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
4 deletions
+45
-4
QGCSetup.pri
QGCSetup.pri
+41
-0
qgroundcontrol-start.sh
deploy/qgroundcontrol-start.sh
+4
-4
No files found.
QGCSetup.pri
View file @
94815cd5
...
...
@@ -99,6 +99,47 @@ WindowsBuild {
}
LinuxBuild {
QMAKE_POST_LINK += && mkdir -p $$DESTDIR/libs
# QT_INSTALL_LIBS
QT_LIB_LIST = \
libicudata.so.54 \
libicui18n.so.54 \
libicuuc.so.54 \
libQt5Core.so.5 \
libQt5DBus.so.5 \
libQt5Gui.so.5 \
libQt5Location.so.5 \
libQt5Network.so.5 \
libQt5OpenGL.so.5 \
libQt5Positioning.so.5 \
libQt5PrintSupport.so.5 \
libQt5Qml.so.5 \
libQt5Quick.so.5 \
libQt5QuickWidgets.so.5 \
libQt5SerialPort.so.5 \
libQt5Svg.so.5 \
libQt5Test.so.5 \
libQt5Widgets.so.5 \
libQt5XcbQpa.so.5
for(QT_LIB, QT_LIB_LIST) {
QMAKE_POST_LINK += && $$QMAKE_COPY --dereference $$[QT_INSTALL_LIBS]/$$QT_LIB $$DESTDIR/libs
}
# QT_INSTALL_PLUGINS
QT_PLUGIN_LIST = \
platforms \
xcbglintegrations
for(QT_PLUGIN, QT_PLUGIN_LIST) {
QMAKE_POST_LINK += && $$QMAKE_COPY --dereference --recursive $$[QT_INSTALL_PLUGINS]/$$QT_PLUGIN $$DESTDIR/libs
}
# QT_INSTALL_QML
QMAKE_POST_LINK += && $$QMAKE_COPY --dereference --recursive $$[QT_INSTALL_QML] $$DESTDIR/libs
# QGroundControl start script
QMAKE_POST_LINK += && $$QMAKE_COPY $$BASEDIR/deploy/qgroundcontrol-start.sh $$DESTDIR
}
deploy/qgroundcontrol-start.sh
View file @
94815cd5
#!/bin/sh
export
LD_LIBRARY_PATH
=
$LD_LIBRARY_PATH
:
$HOME
/Qt/5.5/gcc_64/lib
export
QML_IMPORT_PATH
=
$HOME
/Qt/5.5/gcc_64/qml/
export
QML2_IMPORT_PATH
=
$HOME
/Qt/5.5/gcc_64/qml/
export
QT_QPA_PLATFORM_PLUGIN_PATH
=
$HOME
/Qt/5.5/gcc_64/plugins/platforms/
export
LD_LIBRARY_PATH
=
`
pwd
`
/libs:
$LD_LIBRARY_PATH
export
QML_IMPORT_PATH
=
`
pwd
`
/libs/qml
export
QML2_IMPORT_PATH
=
`
pwd
`
/libs/qml
export
QT_QPA_PLATFORM_PLUGIN_PATH
=
`
pwd
`
/libs/platforms
./qgroundcontrol
"
$@
"
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