mavlink / qgc-dev-guide

QGroundControl Developers Guide
https://dev.qgroundcontrol.com/en/
Other
42 stars 51 forks source link

NSIS is required for build #57

Open holmnikolaj opened 5 years ago

holmnikolaj commented 5 years ago

QGC can not compile without NSIS in windows. This would be a nice information in the "getting started" section. It can be downloaded at: https://sourceforge.net/projects/nsis/

DonLakeFlyer commented 5 years ago

That should only be required if you are building an installer. For the majority of users it is not needed. Are you finding that to not be true?

holmnikolaj commented 5 years ago

Yes I am. However for those who wants an installer it would be helpful information.

DonLakeFlyer commented 5 years ago

@hamishwillee I don't think there are any docs on building an installer for QGC. That is done by adding CONFIG+=installer to the qmake build. And on Window syou need to install NSIS.

hamishwillee commented 5 years ago

@DonLakeFlyer No their aren't. My QT is rusty - to do this you'd just update qgroundcontrol.pro as shown right? I'm STILL downloading Qt to test this.

...
# Installer targets
#

CONFIG+=installer

include(QGCInstaller.pri)
DonLakeFlyer commented 5 years ago

You change it in Qt Creator: Projects -> Build -> Build Steps -> qmake -> Additional arguments screen shot 2019-01-18 at 10 14 10 am