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
3f75dfac
Commit
3f75dfac
authored
Sep 12, 2013
by
Lorenz Meier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'config' of github.com:mavlink/qgroundcontrol into config
parents
d8ec1c38
341c7719
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
qgroundcontrol.pri
qgroundcontrol.pri
+11
-0
qgroundcontrol.pro
qgroundcontrol.pro
+1
-3
qupgrade.pro
qupgrade.pro
+0
-2
No files found.
qgroundcontrol.pri
View file @
3f75dfac
...
...
@@ -356,6 +356,7 @@ win32-msvc2008|win32-msvc2010|win32-msvc2012 {
# Copy application resources
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$BASEDIR_WIN\\files" "$$TARGETDIR_WIN\\debug\\files" /E /I $$escape_expand(\\n))
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$BASEDIR_WIN\\models" "$$TARGETDIR_WIN\\debug\\models" /E /I $$escape_expand(\\n))
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$BASEDIR_WIN\\qml" "$$TARGETDIR_WIN\\debug\\qml" /E /I $$escape_expand(\\n))
# Copy Qt DLLs
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$(QTDIR)\\plugins" "$$TARGETDIR_WIN\\debug" /E /I $$escape_expand(\\n))
...
...
@@ -371,9 +372,16 @@ win32-msvc2008|win32-msvc2010|win32-msvc2012 {
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$(QTDIR)\\bin\\QtWebKitd4.dll" "$$TARGETDIR_WIN\\debug"$$escape_expand(\\n))
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$(QTDIR)\\bin\\QtXmld4.dll" "$$TARGETDIR_WIN\\debug"$$escape_expand(\\n))
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$(QTDIR)\\bin\\QtXmlPatternsd4.dll" "$$TARGETDIR_WIN\\debug"$$escape_expand(\\n))
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$(QTDIR)\\bin\\QtDeclaratived4.dll" "$$TARGETDIR_WIN\\debug"$$escape_expand(\\n))
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$(QTDIR)\\bin\\QtScriptd4.dll" "$$TARGETDIR_WIN\\debug"$$escape_expand(\\n))
}
CONFIG(release, debug|release) {
# Use link time code generation for beteer optimization (I believe this is supported in msvc express, but not 100% sure)
QMAKE_LFLAGS_LTCG = /LTCG
QMAKE_CFLAGS_LTCG = -GL
# Copy supporting library DLLs
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$BASEDIR_WIN\\libs\\lib\\sdl\\win32\\SDL.dll" "$$TARGETDIR_WIN\\release"$$escape_expand(\\n))
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$BASEDIR_WIN\\libs\\mavlink" "$$TARGETDIR_WIN\\release\\mavlink" /E /I $$escape_expand(\\n))
...
...
@@ -382,6 +390,7 @@ win32-msvc2008|win32-msvc2010|win32-msvc2012 {
# Copy application resources
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$BASEDIR_WIN\\files" "$$TARGETDIR_WIN\\release\\files" /E /I $$escape_expand(\\n))
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$BASEDIR_WIN\\models" "$$TARGETDIR_WIN\\release\\models" /E /I $$escape_expand(\\n))
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$BASEDIR_WIN\\qml" "$$TARGETDIR_WIN\\release\\qml" /E /I $$escape_expand(\\n))
# Copy Qt DLLs
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$(QTDIR)\\plugins" "$$TARGETDIR_WIN\\release" /E /I $$escape_expand(\\n))
...
...
@@ -397,6 +406,8 @@ win32-msvc2008|win32-msvc2010|win32-msvc2012 {
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$(QTDIR)\\bin\\QtWebKit4.dll" "$$TARGETDIR_WIN\\release"$$escape_expand(\\n))
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$(QTDIR)\\bin\\QtXml4.dll" "$$TARGETDIR_WIN\\release"$$escape_expand(\\n))
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$(QTDIR)\\bin\\QtXmlPatterns4.dll" "$$TARGETDIR_WIN\\release"$$escape_expand(\\n))
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$(QTDIR)\\bin\\QtDeclarative4.dll" "$$TARGETDIR_WIN\\release"$$escape_expand(\\n))
QMAKE_POST_LINK += $$quote(xcopy /D /Y "$$(QTDIR)\\bin\\QtScript4.dll" "$$TARGETDIR_WIN\\release"$$escape_expand(\\n))
QMAKE_POST_LINK += $$quote(del /F "$$TARGETDIR_WIN\\release\\qgroundcontrol.exp"$$escape_expand(\\n))
QMAKE_POST_LINK += $$quote(del /F "$$TARGETDIR_WIN\\release\\qgroundcontrol.lib"$$escape_expand(\\n))
...
...
qgroundcontrol.pro
View file @
3f75dfac
...
...
@@ -22,7 +22,6 @@
CONFIG
+=
qt
\
thread
\
console
#
serialport
QT
+=
network
\
opengl
\
...
...
@@ -108,7 +107,7 @@ DEPENDPATH += \
INCLUDEPATH
+=
\
libs
/
utils
\
libs
\
libs
/
opmapcontrol
\
libs
/
opmapcontrol
#
If
the
user
config
file
exists
,
it
will
be
included
.
#
if
the
variable
MAVLINK_CONF
contains
the
name
of
an
...
...
@@ -129,7 +128,6 @@ isEmpty(MAVLINK_CONF) {
INCLUDEPATH
+=
$$
MAVLINKPATH
/
common
}
else
{
INCLUDEPATH
+=
$$
MAVLINKPATH
/
$$
MAVLINK_CONF
#
DEFINES
+=
'MAVLINK_CONF="$${MAVLINK_CONF}.h"'
DEFINES
+=
$$
sprintf
(
'QGC_USE_%1_MESSAGES'
,
$$
upper
(
$$
MAVLINK_CONF
))
}
...
...
qupgrade.pro
View file @
3f75dfac
...
...
@@ -223,8 +223,6 @@ win32-msvc2008|win32-msvc2010 {
QMAKE_POST_LINK
+=
$$
quote
(
xcopy
/
D
/
Y
"$$(QTDIR)\\bin\\QtWebKitd4.dll"
"$$TARGETDIR_WIN\\debug"
$$
escape_expand
(
\\
n
))
QMAKE_POST_LINK
+=
$$
quote
(
xcopy
/
D
/
Y
"$$(QTDIR)\\bin\\QtXmld4.dll"
"$$TARGETDIR_WIN\\debug"
$$
escape_expand
(
\\
n
))
QMAKE_POST_LINK
+=
$$
quote
(
xcopy
/
D
/
Y
"$$(QTDIR)\\bin\\QtXmlPatternsd4.dll"
"$$TARGETDIR_WIN\\debug"
$$
escape_expand
(
\\
n
))
QMAKE_POST_LINK
+=
$$
quote
(
xcopy
/
D
/
Y
"$$(QTDIR)\\bin\\QtDeclaratived4.dll"
"$$TARGETDIR_WIN\\debug"
$$
escape_expand
(
\\
n
))
QMAKE_POST_LINK
+=
$$
quote
(
xcopy
/
D
/
Y
"$$(QTDIR)\\bin\\QtScriptd4.dll"
"$$TARGETDIR_WIN\\debug"
$$
escape_expand
(
\\
n
))
}
CONFIG
(
release
,
debug
|
release
)
{
...
...
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