Install CQtDeployer¶
You can download the latest version of the application here.
Installer¶
- Download CQtDeployer*.run or CQtDeployer*.exe
Install without gui¶
Linux¶
chmod +x CQtDeployer_1.5.3.0_Installer_Linux64.run
./CQtDeployer_1.5.3.0_Installer_Linux64.run install
Windows¶
CQtDeployer_1.5.3.0_Installer_Win64.exe install
Deb¶
sudo dpkg -i CQtDeployer_1.5.3.0_Linux64.deb
Note the package name and links can be changed, please check Download page before installation.
Snap¶
sudo snap install cqtdeployer
Features of the snap version¶
If you are using the snap version of the application. Enable all permissions for cqtdeployer. this can be done in the snap-store Or starting with ubuntu 20.04 in the ubuntu application settings manager.
If you do not have the GUI then you can enable all permissions using next commands:
sudo snap connect cqtdeployer:process-control
sudo snap connect cqtdeployer:removable-media
sudo snap connect cqtdeployer:system-backup
Build from sources¶
Build for Linux (using official qt binaries)¶
- install qt and qt QtInstallFrameWork from qt installer
-
clone project
git clone https://github.com/QuasarApp/CQtDeployer.git git submodule update --init --recursive cd CQtDeployer -
create temp build directory
mkdir build cd build -
run cmake
cmake .. -DCMAKE_PREFIX_PATH=/path/to/qt/root/dir -
build cqtdeployer
make -j8 -
create installers and packages (requered installed cqtdeployer)
make deploy
Build for Linux (using native OS binaries)¶
-
clone project
git clone https://github.com/QuasarApp/CQtDeployer.git git submodule update --init --recursive cd CQtDeployer -
create temp build directory
mkdir build cd build -
Install qt from package manager (for example apt on ubuntu)
sudo apt install qt6-base-dev -
run cmake
cmake .. -DCQT_DEPLOYER_TESTS=0 -
build cqtdeployer
cmake --build .. --parallel -
create cqtdeployer executable.
make install
Build for Windows (CMD)¶
- install qt and qt QtInstallFrameWork from qt installer
-
clone project
git clone https://github.com/QuasarApp/CQtDeployer.git git submodule update --init --recursive cd CQtDeployer -
create temp build directory
- SET PATH=C:/Qt/Tools/mingw810_64/bin;%PATH% - It is important to set up the qt environment.mkdir build cd build -
run cmake
cmake .. -DCMAKE_PREFIX_PATH=C:/path/to/qt/root/dir -
build cqtdeployer
migw32-make -j8 -
create installers and packages (requered installed cqtdeployer)
migw32-make deploy
Note¶
If you do not have installed cqtdeployer on your build machine, you can compile cqtdeployer tool as a static. For this, disable the BUILD_SHARED_LIBS option.
cmake .. -DBUILD_SHARED_LIBS=0
make install
If you want to change Qt, Just run cmake with override qt location.
cmake .. -DCMAKE_PREFIX_PATH=/path/to/qt/root/dir
# or
cmake .. -DCMAKE_PREFIX_PATH=~/Qt/6.4.3/gcc_64