What is CQtDeployer?
CQtDeployer is an application that extracts all dependent libraries of an executable and creates a launch script for your application.
Key differences of this program:
- Performance: This program deploys the application several times faster (up to 10 seconds).
- Flexibility: This application has flags that help you configure the deployment for your project's needs.
- Cross-platform deployment: This application supports Windows and Linux distributions. This means that you can use it not only to deploy a project for your platform but also to deploy a project on Linux for Windows and vice versa.
- Fast creation of installers: Upon completion of the deployment, you will receive a self-contained installer of your distribution.
Deploy any C/C++ application easily with CQtDeployer
The utility transfers the paths to the executable files of the deployed programs using the -bin option.
The transferred programs are analyzed, and a list of dependencies is generated. If the programs being deployed depend on Qt, a list of modules is formed based on the dependencies.
Qt plugins are deployed depending on the Qt modules used.
Then QML plugins are copied, if necessary, along with standard Qt translations.
After completing all the described steps, scripts are generated to launch the application.
Examples:
Linux
cqtdeployer -bin myApp -qmake /media/D/Qt/5.15.2/gcc_64/bin/qmake -qmlDir .
Windows
cqtdeployer -bin myApp.exe -qmake /media/D/Qt/5.12.5/gcc_64/bin/qmake.exe -qmlDir .
Where:
- cqtdeployer is a utility call (before version 1.4, the Windows version used the %cqtdeployer% command).
- -bin - the option for specifying the paths of the application executable files.
- myApp.exe and myApp - the paths to the application executable files themselves.
- -qmake - the option for specifying the qmake paths for Qt deployment.
- -qmlDir - the option for specifying paths to QML files of the application.
More Information About CQtDeployer
The source code for CQtDeployer components is provided under GPL v3 licenses and is freely available on GitHub.