mavlink / qgc-dev-guide

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

Add info on building installers #58

Closed hamishwillee closed 5 years ago

hamishwillee commented 5 years ago

This is not yet tested, and I'm still waiting on confirmation from Don that this is correct place to put the config (see https://github.com/mavlink/qgc-dev-guide/issues/57#issuecomment-455416913).

Would also be good to know where the files get created on all platforms (???)- this would then go at the end of the section (currently in a comment).

hamishwillee commented 5 years ago

Actually, after playing, I think you mean specify this as a command line option:

/home/ubuntu/Qt/5.11.0/gcc_64/bin/qmake -o Makefile /home/ubuntu/github/qgroundcontrol/qgroundcontrol.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug CONFIG+=installer

Is that correct?

Where is the installer built? Project messages seem to indicate it is built, but I can't see it anywhere:

Project MESSAGE: Build Installer
Project MESSAGE: Release flavor
DonLakeFlyer commented 5 years ago

Where is the installer built?

Windows/OSX: Should be in the same place as the built QGroundControl which depends on where your build folder is and then under debug/release depending on your QtCreator setup. Linux: Same as above but in a package directory below that.

hamishwillee commented 5 years ago

Fixes #57

hamishwillee commented 5 years ago

@DonLakeFlyer Thanks. I updated this with Qt Creator info. Removed the detail for updating the project file, as I think better to use IDE toolchain for this. Also decided not to point out where the installer is created. If you're this dedicated you will check the build folder.

IF you're OK with this please merge. If not, let me know what you would prefer done.