2019-11-19 12:46:09 +03:00
# CQtDeployer [](https://snapcraft.io/cqtdeployer)
[](https://snapcraft.io/cqtdeployer)
2019-11-23 10:09:01 +03:00
# 
2018-08-19 13:15:32 +03:00
2019-06-06 17:47:50 +03:00
****************************
2019-08-13 09:11:16 +03:00
2020-01-31 18:50:14 +03:00
2019-06-20 09:34:23 +03:00
## What is CQtDeployer
2019-06-06 09:21:13 +03:00
The CQtDeployer is application for extract all depends library of executable and create launch script for your application.
2018-08-19 13:15:32 +03:00
Key differences of this program:
2019-04-12 13:56:50 +03:00
* Performance: this program deploys the application several times faster (up to 10 seconds)
* Flexibility: this application's got flags that help you to configure the deployment for your or your project's needs
2019-05-21 18:06:10 +03:00
* Crossdeploy: this application's support windows and linux distrebutives, 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.
2020-04-07 12:08:18 +03:00
* Fast create installers : Upon completion of the deployment, you will receive a self-contained installer of your distribution.
2020-05-05 09:37:29 +03:00
## Supported platforms:
* < img src = "https://user-images.githubusercontent.com/12465465/67766480-929b5000-fa5f-11e9-8ae7-377d9ddb7c65.png" height = "100" >
* < img src = "https://upload.wikimedia.org/wikipedia/commons/8/8d/Windows_darkblue_2012.svg" height = "100" >
## Support processors architectures:
* x86
* x86-64
* ARM
* ARM64
## How to use
#### Example: cqtdeployer <-bin [params]> [options]
See list of all options [here ](https://github.com/QuasarApp/CQtDeployer/wiki/Options )
#### Example: cqtdeployer -bin myApp -qmlDir ~/MyAppProject/qml -qmake ~/Qt/5.12.4/gcc_64/bin/qmake clear
## More examples
2020-05-04 23:01:40 +03:00
#### Project structure after deploy:
``` bash
#linux
cqtdeployer -bin Guitar
#windows
cqtdeployer -bin Guitar.exe -qmake /path/to/qmake.exe
```
< img src = "https://user-images.githubusercontent.com/12465465/81007195-7ab2e780-8e59-11ea-9793-1eeeb0025b96.png" height = "400" >
#### Project installer after deploy with the qif option.
``` bash
#linux
cqtdeployer -bin Application qif
#windows
cqtdeployer -bin Application.exe -qmake /path/to/qmake.exe qif
```
< img src = "https://user-images.githubusercontent.com/12465465/78639719-197a1180-78b7-11ea-9e82-a03dd43f4bd2.png" height = "400" >
#### Project installer after deploy with the qif and qifStyle option.
``` bash
#linux
cqtdeployer -bin Application qif -qifStyle quasar
#windows
cqtdeployer -bin Application.exe -qmake /path/to/qmake.exe qif -qifStyle quasar
```
< img src = "https://user-images.githubusercontent.com/12465465/78639720-1aab3e80-78b7-11ea-9604-3dcdd7c78482.png" height = "400" >
``` bash
#linux
2020-05-05 09:34:09 +03:00
cqtdeployer -bin Application qif -qifStyle path/to/myStyle.css
2020-05-04 23:01:40 +03:00
#windows
cqtdeployer -bin Application.exe -qmake /path/to/qmake.exe qif -qifStyle path/to/myStyle.css
```
< img src = "https://user-images.githubusercontent.com/12465465/78639716-17b04e00-78b7-11ea-9002-a8b45a43807f.png" height = "400" >
2019-12-09 09:57:41 +03:00
## Build for Linux
- install qt and qt QtInstallFrameWork from [qt installer ](https://www.qt.io/download-qt-installer?hsCtaTracking=9f6a2170-a938-42df-a8e2-a9f0b1d6cdce%7C6cb0de4f9bb77-7bb77-4bb77-4 )
- git clone https://github.com/QuasarApp/CQtDeployer.git
- cd CQtDeployer
- git submodule update --init --recursive
- qmake -r
2019-12-09 10:10:20 +03:00
- Here you must definitely call the qmake that was loaded from the 1st item.
- Example: ~/Qt/5.14.0/gcc_64/bin/qmake -r
2019-12-09 09:57:41 +03:00
- make -j$(nproc)
2019-12-09 10:10:20 +03:00
- make deploy
2019-12-09 16:00:09 +03:00
- #this command requires installed [cqtdeployer ](https://github.com/QuasarApp/CQtDeployer/releases )
2019-12-09 09:57:41 +03:00
- ./Distro/CQtDeployerInstaller.run
## Build for Windows (CMD)
- install qt and qt QtInstallFrameWork from [qt installer ](https://www.qt.io/download-qt-installer?hsCtaTracking=9f6a2170-a938-42df-a8e2-a9f0b1d6cdce%7C6cb0de4f9bb77-7bb77-4bb77-4 )
- git clone https://github.com/QuasarApp/CQtDeployer.git
- cd CQtDeployer
- git submodule update --init --recursive
- SET PATH=C:/Qt/Tools/mingw730_64/bin;%PATH%
2019-12-09 10:10:20 +03:00
- It is important to set up the qt environment.
2019-12-09 09:57:41 +03:00
- qmake.exe -r
2019-12-09 10:10:20 +03:00
- Here you must definitely call the qmake that was loaded from the 1st item.
- Example: C:/Qt/5.14.0/mingw73_64/bin/qmake.exe -r
2020-02-11 09:59:43 +03:00
- migw32-make -j8
- migw32-make deploy
2019-12-09 16:00:09 +03:00
- #this command requires installed [cqtdeployer ](https://github.com/QuasarApp/CQtDeployer/releases )
2019-12-09 09:57:41 +03:00
- ./Distro/CQtDeployerInstaller.exe
2018-08-19 13:15:32 +03:00
## Install
2019-09-27 13:20:59 +03:00
You can download the latest version of the application [here ](https://github.com/QuasarApp/CQtDeployer/releases ).
2018-08-19 13:15:32 +03:00
2018-12-08 14:02:32 +03:00
### Snap
[](https://snapcraft.io/cqtdeployer)
2019-09-11 10:08:28 +03:00
## Projects using CQtDeployer:
- [QAmigo ](https://github.com/QAmigo/QAmigo )
- [QtSecret ](https://github.com/QuasarApp/Qt-Secret )
- [Hanoi-Towers ](https://github.com/QuasarApp/Hanoi-Towers )
2019-11-12 17:43:59 +03:00
- [distbuilder ](https://github.com/BuvinJT/distbuilder )
2020-01-21 15:04:10 +03:00
- [Manager_v2 ](https://github.com/dimkatsi91/Manager_v2 )
2019-09-11 10:08:28 +03:00
2018-08-19 13:15:32 +03:00
## Donate
2019-04-12 18:36:47 +03:00
If you want to support the project,you can donate into our bitcoin wallet.
2018-08-19 13:15:32 +03:00
### Bitcoin address - 1NJNbDKmezcUcHRfzpBeq2fHeG21oEKX8Q
2019-10-24 09:50:22 +03:00
## Thanks
* many thanks [Trail of Bits ](https://github.com/trailofbits ) for their library [pe-parser ](https://github.com/trailofbits/pe-parse ). Everything works perfectly.
2018-08-19 13:15:32 +03:00
***************************
***************************
***************************
2019-11-18 09:50:24 +03:00
**CQtDeployer** - это приложение преднознаена для извлечения всех зависимых библиотек исполняемого файла и создания сценария запуска для вашего приложения.
2018-08-19 13:15:32 +03:00
Основные отличия этой программы:
* Производительность - эта программа развертывает приложение в несколько раз быстрее (до 10 секунд)
* Гибкость - это приложение имеет флаги, которые помогут вам настроить деплоинг под ваши нужды и нужды вашего проекта
2019-05-21 18:06:10 +03:00
* Crossdeploy: приложение поддерживает Windows и дистрибутивы Linux, это означает, что вы можете использовать е г о не только для развертывания проекта для вашей платформы, но и для развертывания проекта в Linux для Windows и наоборот.
2020-04-07 12:08:18 +03:00
* Быстрое создание установщиков. По завершении развертывания вы получите автономный установщик вашего дистрибутива.
2020-05-05 09:37:29 +03:00
## Поддерживаемые платформы:
* < img src = "https://user-images.githubusercontent.com/12465465/67766480-929b5000-fa5f-11e9-8ae7-377d9ddb7c65.png" height = "100" >
* < img src = "https://upload.wikimedia.org/wikipedia/commons/8/8d/Windows_darkblue_2012.svg" height = "100" >
## Поддержка архитектур процессоров:
* x86
* x86-64
* ARM
* ARM64
## Как использовать
#### пример : cqtdeployer <-bin [params]> [options]
Смотрите список всех опций [здесь](https://github.com/QuasarApp/CQtDeployer/wiki/%D0%9F%D0%B0%D1%80%D0%B0%D0%BC%D0%B5%D1%82%D1%80%D1%8B
)
#### пример: cqtdeployer -bin myApp -qmlDir ~/MyAppProject/qml -qmake ~/Qt/5.12.4/gcc_64/bin/qmake clear
## Еще примеры
2020-05-04 23:01:40 +03:00
#### Стуктура проекта после развертывания:
``` bash
#linux
cqtdeployer -bin Guitar
#windows
cqtdeployer -bin Guitar.exe -qmake /path/to/qmake.exe
```
< img src = "https://user-images.githubusercontent.com/12465465/81007195-7ab2e780-8e59-11ea-9793-1eeeb0025b96.png" height = "400" >
#### Установщик проекта после использования опции qif.
``` bash
#linux
cqtdeployer -bin Application qif
#windows
cqtdeployer -bin Application.exe -qmake /path/to/qmake.exe qif
```
< img src = "https://user-images.githubusercontent.com/12465465/78639719-197a1180-78b7-11ea-9e82-a03dd43f4bd2.png" height = "400" >
#### Установщик проекта после использования опции qif c пользовательским стилем.
``` bash
#linux
cqtdeployer -bin Application qif -qifStyle quasar
#windows
cqtdeployer -bin Application.exe -qmake /path/to/qmake.exe qif -qifStyle quasar
```
< img src = "https://user-images.githubusercontent.com/12465465/78639720-1aab3e80-78b7-11ea-9604-3dcdd7c78482.png" height = "400" >
``` bash
#linux
2020-05-05 09:34:09 +03:00
cqtdeployer -bin Application qif -qifStyle path/to/myStyle.css
2020-05-04 23:01:40 +03:00
#windows
cqtdeployer -bin Application.exe -qmake /path/to/qmake.exe qif -qifStyle path/to/myStyle.css
```
< img src = "https://user-images.githubusercontent.com/12465465/78639716-17b04e00-78b7-11ea-9002-a8b45a43807f.png" height = "400" >
2020-04-07 12:08:18 +03:00
2019-12-09 10:10:20 +03:00
## Build для Linux
2019-12-09 09:57:41 +03:00
- установите qt и qt QtInstallFrameWork из [Установщик qt ](https://www.qt.io/download-qt-installer?hsCtaTracking=9f6a2170-a938-42df-a8e2-a9f0b1d6cdce%7C6cb0de4f-9bb5-4778-ab02-bfb62735f3e5 )
- git clone https://github.com/QuasarApp/CQtDeployer.git
- cd CQtDeployer
- git submodule update --init --recursive
- qmake -r
2019-12-09 10:10:20 +03:00
- Здесь нужно обязательно вызвать тот qmake, который был загружен из 1г о пункта.
- Пример: ~/Qt/5.14.0/gcc_64/bin/qmake -r
2019-12-09 09:57:41 +03:00
- make -j$(nproc)
2019-12-09 10:10:20 +03:00
- make deploy
2019-12-09 16:00:09 +03:00
- эта команда требует установленный [cqtdeployer ](https://github.com/QuasarApp/CQtDeployer/releases )
2019-12-09 09:57:41 +03:00
- ./Distro/CQtDeployerInstaller.run
2019-12-09 10:10:20 +03:00
2019-12-09 09:57:41 +03:00
## Build для Windows (CMD)
- установите qt и qt QtInstallFrameWork из [Установщик qt ](https://www.qt.io/download-qt-installer?hsCtaTracking=9f6a2170-a938-42df-a8e2-a9f0b1d6cdce%7C6cb0de4f-9bb5-4778-ab02-bfb62735f3e5 )
- git clone https://github.com/QuasarApp/CQtDeployer.git
- cd CQtDeployer
- git submodule update --init --recursive
- SET PATH=C:/Qt/Tools/mingw730_64/bin;%PATH%
2019-12-09 13:48:33 +03:00
- Здесь важно настроить окружение qt.
2019-12-09 09:57:41 +03:00
- qmake.exe -r
2019-12-09 10:10:20 +03:00
- Здесь нужно обязательно вызвать тот qmake, который был загружен из 1г о пункта.
- Пример: C:/Qt/5.14.0/mingw73_64/bin/qmake.exe -r
2020-02-11 09:59:43 +03:00
- migw32-make -j8
- migw32-make deploy
2019-12-09 16:00:09 +03:00
- эта команда требует установленный [cqtdeployer ](https://github.com/QuasarApp/CQtDeployer/releases )
2019-12-09 09:57:41 +03:00
- ./Distro/CQtDeployerInstaller.exe
2018-12-08 14:02:32 +03:00
### Snap
[](https://snapcraft.io/cqtdeployer)
2018-08-19 13:15:32 +03:00
## Установить
2019-09-27 13:20:59 +03:00
Вы можете загрузить последнюю версию приложения [здесь ](https://github.com/QuasarApp/CQtDeployer/releases ).
2018-08-19 13:15:32 +03:00
2019-09-11 10:08:28 +03:00
## Проекты использующие CQtDeployer :
- [QAmigo ](https://github.com/QAmigo/QAmigo )
- [QtSecret ](https://github.com/QuasarApp/Qt-Secret )
- [Hanoi-Towers ](https://github.com/QuasarApp/Hanoi-Towers )
2019-11-12 17:43:59 +03:00
- [distbuilder ](https://github.com/BuvinJT/distbuilder )
2020-01-21 15:04:10 +03:00
- [Manager_v2 ](https://github.com/dimkatsi91/Manager_v2 )
2018-08-19 13:15:32 +03:00
## Пожертвовать
Если вы хотите помочь проекту, то вы можете пожертвовать небольшую сумму на наш биткойн-кошелек.
### Биткойн-адрес - 1NJNbDKmezcUcHRfzpBeq2fHeG21oEKX8Q
2019-10-24 09:50:22 +03:00
## Благодарность
* Большое спасибо [Trail of Bits ](https://github.com/trailofbits ) за их библиотеку [pe-parser ](https://github.com/trailofbits/pe-parse ). В с е работает отлично.