5 changed files with 49 additions and 22 deletions
@ -0,0 +1,28 @@
@@ -0,0 +1,28 @@
|
||||
# ------------------------------------------------- |
||||
# 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") |
||||
} |
||||
} |
@ -1,15 +0,0 @@
@@ -1,15 +0,0 @@
|
||||
#!/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' |
Loading…
Reference in new issue