Qt LGPL App Template
This template helps you create a 100 % compliant desktop/mobile application using LGPLv3 libraries.
With this template you get:
A qmake sample project template that builds proprietary source code into a static library (.a / .lib), PROTECTING YOUR SOURCE CODE and creates a redistributable project in a .zip file (it does this on every release build).
Release.zip file can be recompiled by any user to exercise their rights over the LGPL 3.0 license.
You can add other LGPL 3.0 library sources to the project that will be added to the redistributable project.
Supports static compilation: you can develop an application with static compilation because users can always easily recompile their application executable.
IOS / Android Compatible: You can create a LGPL compatible mobile app for iOS / Android. On these platforms, users cannot replace LGPL Libraries (an LGPL 3.0 requirement), but they can recompile the mobile app and install it on their own mobile device.
There is the possibility of embedding the release.zip file in the application's own resources, to be able to download it from an "about" dialog.
Multiplatform: the project uses an executable to prepare the release file, which is included statically linked for the Windows 32/64, Linux 64, and macOS platforms. It has been tested on Windows, Linux Ubuntu 20.04, macOS Sierra, and Android
A sample QML "about" dialog is included, to list the licenses used (a requirement of most open source licenses), and to add the download URL of your release.zip file.
Limitations: If you use the QML compiler, your application can only be recompiled with the same minor version of Qt (for example, a Qt 5.15.0 application cannot be linked to another version of Qt, like Qt 5.15.1).
See in action
- Release files examples (Windows)
- Release files examples (Linux 64)
- Release files examples (MacOS)
- Release files examples (Android)
- Static Windows 32 bits Qt5 demo application with self-contained relase.zip
Android App using Qt LGPL App Template in Google Play