Content from old site probably completely useless to seed this, but reproduced below FYI:
This page describes how to back a compiled binary with all required libraries into a redistributable executable or installer.
Windows
We are using the Nullsoft Scriptable Install System (NSIS). To build the installer follow these instructions:
Install NSIS: http://nsis.sourceforge.net/Main_Page
cd to your top level qgroundcontrol directory
Use the following settings for your qmake call: CONFIG+=release CONFIG+=installer
Build QGroundControl as you normally would
When the build is complete there will be a qgroundcontrol-installer-win32.exe in your release directory
More information on NSIS:
http://nsis.sourceforge.net/Main_Page
Mac
To build the Mac installer follow these instructions:
Make sure that you have installed the SDL framework in /Library/Frameworks/SDL.Framework
Use the following settings for your qmake call: CONFIG+=release CONFIG+=installer
Build QGroundControl as you normally would
When complete there will qgroundcontrol.dmg disk image in your release directory
The qgroundcontrol.dmg will be found in your release directory.
Ubuntu / Debian
mkdir qgroundcontrol-version
cd qgroundcontrol-version/
#create package
have installed gpg key for mail address
dh_make -e "mail@qgroundcontrol.org" -c gpl --createorig
#edit files in newly appeared debian folder
#add all files to be installed into directory
create folders named usr/bin . put executable in there
should look like:
ls -R
./usr:
bin share
./usr/bin:
qgroundcontrol
./usr/share:
applications pixmaps
./usr/share/applications:
qgroundcontrol.desktop
./usr/share/pixmaps:
qgroundcontrol.png
create binary
debuild -b
It would be better if the package could be build from source directly…
Convert Icons
http://www.linuxinet.com/node/177
Content from old site probably completely useless to seed this, but reproduced below FYI:
This page describes how to back a compiled binary with all required libraries into a redistributable executable or installer.
Windows
We are using the Nullsoft Scriptable Install System (NSIS). To build the installer follow these instructions:
Install NSIS: http://nsis.sourceforge.net/Main_Page
cd to your top level qgroundcontrol directory
Use the following settings for your qmake call: CONFIG+=release CONFIG+=installer
Build QGroundControl as you normally would
When the build is complete there will be a qgroundcontrol-installer-win32.exe in your release directory
More information on NSIS:
http://nsis.sourceforge.net/Main_Page
Mac
To build the Mac installer follow these instructions:
Make sure that you have installed the SDL framework in /Library/Frameworks/SDL.Framework
Use the following settings for your qmake call: CONFIG+=release CONFIG+=installer
Build QGroundControl as you normally would
When complete there will qgroundcontrol.dmg disk image in your release directory
The qgroundcontrol.dmg will be found in your release directory.
Ubuntu / Debian
mkdir qgroundcontrol-version
cd qgroundcontrol-version/
#create package
have installed gpg key for mail address
dh_make -e "mail@qgroundcontrol.org" -c gpl --createorig
#edit files in newly appeared debian folder
#add all files to be installed into directory
create folders named usr/bin . put executable in there
should look like:
ls -R
./usr:
bin share
./usr/bin:
qgroundcontrol
./usr/share:
applications pixmaps
./usr/share/applications:
qgroundcontrol.desktop
./usr/share/pixmaps:
qgroundcontrol.png
create binary
debuild -b
It would be better if the package could be build from source directly…
Convert Icons
http://www.linuxinet.com/node/177