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
67f00be7
Commit
67f00be7
authored
Feb 16, 2014
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Installers for Mac and Windows
parent
6c50f796
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
49 additions
and
22 deletions
+49
-22
QGCInstaller.pri
QGCInstaller.pri
+28
-0
QGCSetup.pri
QGCSetup.pri
+5
-3
mac_create_dmg.sh
deploy/mac_create_dmg.sh
+0
-15
qgroundcontrol_installer.nsi
deploy/qgroundcontrol_installer.nsi
+2
-4
qgroundcontrol.pro
qgroundcontrol.pro
+14
-0
No files found.
QGCInstaller.pri
0 → 100644
View file @
67f00be7
# -------------------------------------------------
# QGroundControl - Micro Air Vehicle Groundstation
# Please see our website at <http://qgroundcontrol.org>
# Maintainer:
# Lorenz Meier <lm@inf.ethz.ch>
# (c) 2009-2014 QGroundControl Developers
# This file is part of the open groundstation project
# QGroundControl is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# QGroundControl is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with QGroundControl. If not, see <http://www.gnu.org/licenses/>.
# -------------------------------------------------
installer {
MacBuild {
QMAKE_POST_LINK += && macdeployqt $${DESTDIR}/qgroundcontrol.app -dmg
}
WindowsBuild {
QMAKE_POST_LINK += $$escape_expand(\\n) $$quote("\"C:\\Program Files \(x86\)\\NSIS\\makensis.exe\"" /NOCD "\"/XOutFile $${DESTDIR_WIN}\\qgroundcontrol-installer-win32.exe\"" "$$BASEDIR_WIN\\deploy\\qgroundcontrol_installer.nsi")
}
}
QGCSetup.pri
View file @
67f00be7
...
...
@@ -153,10 +153,11 @@ MacBuild {
}
WindowsBuild {
# Copy dependencies
BASEDIR_WIN = $$replace(BASEDIR,"/","\\")
DESTDIR_WIN = $$replace(DESTDIR,"/","\\")
# Copy dependencies
QMAKE_POST_LINK += $$escape_expand(\\n) $$quote($$QMAKE_COPY_DIR "$$(QTDIR)\\plugins" "$$DESTDIR_WIN")
COPY_FILE_DESTDIR = $$DESTDIR_WIN
...
...
@@ -188,9 +189,10 @@ WindowsBuild {
# Copy Visual Studio DLLs
# Note that this is only done for release because the debugging versions of these DLLs cannot be redistributed.
#
I'm not certain of the path for VS2008, so this
only works for VS2010.
#
This currently
only works for VS2010.
win32-msvc2010 {
QMAKE_POST_LINK += $$escape_expand(\\n) $$quote(xcopy /D /Y "\"C:\\Program Files \(x86\)\\Microsoft Visual Studio 10.0\\VC\\redist\\x86\\Microsoft.VC100.CRT\\*.dll\"" "$$DESTDIR_WIN\\")
QMAKE_POST_LINK += $$escape_expand(\\n) $$quote($$QMAKE_COPY "C:\\Windows\\System32\\msvcp100.dll" "$$DESTDIR_WIN\\")
QMAKE_POST_LINK += $$escape_expand(\\n) $$quote($$QMAKE_COPY "C:\\Windows\\System32\\msvcr100.dll" "$$DESTDIR_WIN\\")
}
}
}
deploy/mac_create_dmg.sh
deleted
100644 → 0
View file @
6c50f796
#!/bin/sh
cp
-r
../../build-qgroundcontrol-Qt_4_8_1-Release/release/qgroundcontrol.app
.
cp
-r
../files/audio qgroundcontrol.app/Contents/MacOs/.
mkdir
-p
qgroundcontrol.app/Contents/Frameworks/
mkdir
-p
qgroundcontrol.app/Contents/PlugIns/imageformats
mkdir
-p
qgroundcontrol.app/Contents/PlugIns/codecs
mkdir
-p
qgroundcontrol.app/Contents/PlugIns/accessible
# SDL is not copied by Qt - for whatever reason
cp
-r
/Library/Frameworks/SDL.framework qgroundcontrol.app/Contents/Frameworks/.
echo
-e
'\n\nStarting to create disk image. This may take a while..\n'
$HOME
/QtSDK/Desktop/Qt/4.8.1/gcc/bin/macdeployqt qgroundcontrol.app
-dmg
rm
-rf
qgroundcontrol.app
echo
-e
'\n\n QGroundControl .DMG file is now ready for publishing\n'
deploy/qgroundcontrol_installer.nsi
View file @
67f00be7
Name "QGroundcontrol"
OutFile "qgroundcontrol-installer-win32.exe"
InstallDir $PROGRAMFILES\qgroundcontrol
Page license
...
...
@@ -11,12 +9,12 @@ Page instfiles
UninstPage uninstConfirm
UninstPage instfiles
LicenseData
..\
license.txt
LicenseData license.txt
Section ""
SetOutPath $INSTDIR
File /r
..\
release\*.*
File /r release\*.*
WriteUninstaller $INSTDIR\QGroundControl_uninstall.exe
SectionEnd
...
...
qgroundcontrol.pro
View file @
67f00be7
...
...
@@ -36,6 +36,14 @@ linux-g++ | linux-g++-64 {
error
(
Unsupported
build
type
)
}
#
Installer
configuration
installer
{
CONFIG
-=
debug
CONFIG
-=
debug_and_release
CONFIG
+=
release
}
#
Setup
our
supported
build
flavors
CONFIG
(
debug
,
debug
|
release
)
{
...
...
@@ -194,6 +202,12 @@ include(QGCExternalLibs.pri)
include
(
QGCSetup
.
pri
)
#
#
Installer
targets
#
include
(
QGCInstaller
.
pri
)
#
#
Main
QGroundControl
portion
of
project
file
#
...
...
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