CQtDeployer¶
¶
What is CQtDeployer¶
CQtDeployer helps you to extract all libraries your executable depends on and to create 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 to configure the deployment for your or your project's needs * Cross-deployment: this application supports Windows, Linux and macOS distributions. This means that you can deploy a project not only for the host platform, but also deploy a project for Windows target on Linux host and vice versa. * Fast installers creation: Once the deployment is complete, you will receive a standalone installer for your distribution.
Supported platforms:¶
- Linux
- deb
- snap
- AppImage
- raw binaries
- installer
- Windows
- raw binaries
- installer
- macOS
- DMG (app bundle)
- zip
- raw binaries
Note: the Qt Installer Framework tools are not published for macOS by the Qt company, but the CQtDeployer package bundles them for all supported platforms (the QIFW binaries are stored in the CQtDeployer repository, issue #867), so the
qtifwoption works on the macOS hosts as well (the installer is created as a.appbundle, it can be signed with theqifSignoption). See the macOS documentation for the details.
Supported processors architectures:¶
- x86
- x86-64
- ARM
- ARM64
How to use¶
Example: cqtdeployer <-bin [params]> [options]¶
See the list of all options here
Example: cqtdeployer -bin myApp -qmlDir ~/MyAppProject/qml -qmake ~/Qt/6.3.1/gcc_64/bin/qmake clear¶
More examples¶
Deployed project structure:¶
#linux
cqtdeployer -bin Guitar
#windows
cqtdeployer -bin Guitar.exe -qmake /path/to/qmake.exe
#macos
cqtdeployer -bin Guitar -qmake /path/to/Qt/6.10.3/macos/bin/qmake

Project installer after deployment with the qtifw option.¶
#linux
cqtdeployer -bin Application qtifw
#windows
cqtdeployer -bin Application.exe -qmake /path/to/qmake.exe qtifw

Project installer after deployment with the qtifw and qifStyle options.¶
#linux
cqtdeployer -bin Application qtifw -qifStyle quasar
#windows
cqtdeployer -bin Application.exe -qmake /path/to/qmake.exe qtifw -qifStyle quasar

#linux
cqtdeployer -bin Application qtifw -qifStyle path/to/myStyle.css
#windows
cqtdeployer -bin Application.exe -qmake /path/to/qmake.exe qtifw -qifStyle path/to/myStyle.css

Build and install¶
See building and installation instructions on wiki page
Available in GitHub Actions¶
CQtDeployer can be installed in your CI pipelines with the cqtdeployer-install-action action of the QuasarApp organization (the Linux x64/ARM64, the Windows x64 and the macOS ARM64 runners; the latest stable release is installed by default):
- name: Install CQtDeployer
uses: QuasarApp/cqtdeployer-install-action@v1.2.3
To pin a specific release, set the version input to the desired release
tag (for example v1.6.2588). See the GitHub Actions documentation
for the full description and the complete workflow example.
Projects using CQtDeployer:¶
- QAmigo - Qt cross-platform serial port socket assistant for visualizing data.
- QtSecret - Simple encryption library supporting RSA and AES algorithms.
- Hanoi-Towers - Hanoi Towers Game
- distbuilder - Distribution Builder
- Manager_v2 - Qt Quick Controls 2 - Linux Manager Desktop Application
- IDE65XX - IDE 65XX is one of the open source IDE options available for developers working with Kick Assembler.
- Tanks - 2D game written in C++ & Qt for Windows, Linux and Android
- stegano - Bit-level Image Manipulation Software with Qt Framework - Steganography Pet Project
- Online_Board - This is a board that you can share with others.
Check out our documentation for more information: here¶
Thanks¶
- many thanks LIEF for their LIEF library that is used to parse the PE, ELF and Mach-O binaries. Everything works perfectly.