-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow building QGroundControl with only LGPL Qt modules #8252
Comments
Just FYI: PID tuning also uses charting |
That means both iOS and Android must also be disabled as they both statically link Qt, no? |
Correct, my mistake. QGC can still be built though, it will just fail when trying to open Tuning with the following message (tested with ArduCopter SITL) -
Regarding Android, QGC already links dynamically with QT. You can unzip the generated APK file and see that it includes the QT .so files. I am not sure about iOS. |
Would this be possible ? |
According to Qt Licensing and in particular this list, most of Qt is (also) released under the LGPL license except for a few modules that are GPL / commercial only.
QGroundControl uses mostly LGPL modules. At the moment only MAVLink inspector uses the charts module which is GPL / commercial.
What I am asking for is a CONFIG option or something similar to disable building code that uses non-LGPL modules. This will require changes to qgroundcontrol.pro. Something like this works for the current code base (define QGC_ENABLE_QT_LGPL in user_config.pri or on the command line):
Another option would be something like this (easier to understand but more verbose):
You might remember I started a discussion on this.
Thanks!
The text was updated successfully, but these errors were encountered: