2018-08-19 13:15:32 +03:00
# Welcome to the Console Qt Deployer!
# 
***************************
## What is Console Qt Deployer
The Console QtDeployer is console veriosn of the [QtDeployer ](https://quasarapp.github.io/QtDeployer/ ).
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
2018-08-19 13:15:32 +03:00
### How to use
2019-04-12 18:36:47 +03:00
#### Example: cqtdeployer <-bin [params]> [options]
2018-08-19 13:15:32 +03:00
#### Options:
2018-12-15 11:33:40 +03:00
| Option | Descriptiion |
|-----------------------------|-----------------------------------------------------------------|
2019-04-12 18:36:47 +03:00
| -bin [list, params] | Deployable file or folder. For example -bin ~/my/project/bin/,~/my/project/bin.exe|
| -binDir [params] | A folder which includes deployable files (recursive search). WARNING: this flag supports 'so', 'dll' and 'exe' files only. Use '-bin' flag if you want to deploy linux binary files |
2019-09-10 18:22:49 +03:00
| -confFile [params] | The path to the json file with all deployment configurations. Using this file, you can add the necessary options, thereby simplifying the command invocation in the console. However, the parameters in Kansol have a higher priority than in the file. |
2019-05-14 11:31:13 +03:00
| -qmlDir [params] | Qml data dir. For example -qmlDir ~/my/project/qml |
2019-04-12 18:36:47 +03:00
| -qmake [params] | Qmake path. For example |
2019-09-12 09:38:30 +03:00
| | -qmake ~/Qt/5.14.0/gcc_64/bin/qmake |
2019-05-22 18:03:54 +03:00
| -ignore [list,params] | The list of libs to ignore. |
2019-04-12 18:36:47 +03:00
| | For example -ignore libicudata.so.56,libicudata2.so.56 |
2019-05-14 11:31:13 +03:00
| -ignoreEnv [list,params] | The list of the environment to ignore. |
| | For example -ignoreEnv /bad/dir,/my/bad/Dir |
2019-09-12 09:38:30 +03:00
| -libDir [list,params] | Sets additional paths for extra libs of an app. |
| | For example -libDir ~/myLib,~/newLibs |
| -extraPlugin [list,params]| Sets an additional path to extraPlugin of an app |
| -recursiveDepth [params] | Sets the Depth of recursive search of libs (default 0) |
| -targetDir [params] | Sets target directory(by default it is the path to the first deployable file)|
| -verbose [0-3] | Shows debug log |
| deploySystem | Deploys all libraries |
2019-05-14 11:31:13 +03:00
| clear | Deletes deployable files of the previous session. |
2019-08-24 01:42:13 +03:00
| force-clear | Deletes the destination directory before deployment. |
2019-04-12 18:36:47 +03:00
| | For example -runScript myApp.sh |
2019-09-12 09:38:30 +03:00
| allQmlDependes | Extracts all the qml libraries. |
2019-05-14 11:31:13 +03:00
| | (not recommended, as it takes great amount of computer memory) |
2019-09-12 09:38:30 +03:00
| version / v | Shows compiled version |
| help / h | Shows help. |
| noLibc | Skip Deploys libc and ld-linux libs |
| noStrip | Skips strip step |
| noTranslations | Skips the translations files. |
2019-05-14 11:31:13 +03:00
| | It doesn't work without qmake and inside a snap package |
2019-09-12 09:38:30 +03:00
| noOverwrite | Prevents replacing existing files. |
2019-08-12 18:05:28 +03:00
| v / version | Shows compiled version |
2018-09-18 16:36:05 +03:00
2018-08-24 16:26:54 +03:00
2018-08-19 13:15:32 +03:00
2018-10-02 09:48:51 +03:00
#### Example: cqtdeployer -bin myApp -qmlDir ~/MyAppProject/qml -qmake ~/Qt/5.11.1/gcc_64/bin/qmake clear
2018-08-19 13:15:32 +03:00
## Build for Linux
2018-12-08 14:02:32 +03:00
- ./staticBuild
- ./sharedBuild
- ./snapBuild
2018-08-19 13:15:32 +03:00
2018-12-16 21:00:24 +03:00
## Build for Windows
- from qtCreator
2018-08-19 13:15:32 +03:00
## Install
You can download the latest version of the application [here ](https://github.com/QuasarApp/Console-QtDeployer/releases ).
2018-12-08 14:02:32 +03:00
### Snap
[](https://snapcraft.io/cqtdeployer)
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
***************************
***************************
***************************
Console QtDeployer является консольной реализацией [QtDeployer ](https://quasarapp.github.io/QtDeployer/ ).
Основные отличия этой программы:
* Производительность - эта программа развертывает приложение в несколько раз быстрее (до 10 секунд)
* Гибкость - это приложение имеет флаги, которые помогут вам настроить деплоинг под ваши нужды и нужды вашего проекта
### Как использовать
2018-09-22 16:54:52 +03:00
#### пример : cqtdeployer <-bin [params]> [options]
2018-08-19 13:15:32 +03:00
#### Options:
| Option | Descriptiion |
|-----------------------------|-----------------------------------------------------------|
2019-04-12 18:36:47 +03:00
| help / h | Показывает справку |
2018-12-15 20:51:25 +03:00
| -bin [list, params] | Развертываемый файл или папка. пример -bin ~/my/project/bin/,~/my/project/bin.exe|
| -binDir [params] | Папка с развертываемыми файлами (с рекурсивным поиском). ВНИМАНИЕ! Этот флаг поддерживает только файлы 'so', 'dll' и 'exe'. Если вы хотите развернуть бинарный файл Linux, используйте флаг '-bin' |
2019-09-10 18:22:49 +03:00
| -confFile [params] | Путь к файлу json с о всеми конфигурациями развертывания. С помощью этого файла можно добавить нужные опции, тем самым упрастить вызов комманды в консоле. Однако пораметры в кансоле имеют больший приоритет чем в файле. |
2018-12-15 11:33:40 +03:00
| -qmlDir [params] | Папка qml. пример -qmlDir ~/my/project/qml |
2018-12-15 20:51:25 +03:00
| -qmake [params] | Путь к qmake. пример |
2019-09-12 09:38:30 +03:00
| | -qmake ~/Qt/5.14.0/gcc_64/bin/qmake |
2018-12-15 20:51:25 +03:00
| -ignore [list,params] | Список библиотек для игнорирования |
| | Пример -ignore libicudata.so.56,libicudata2.so.56 |
2019-05-14 11:31:13 +03:00
| -ignoreEnv [list,params] | Список путей для игнорирования. |
| | Пример -ignoreEnv /bad/dir,/my/bad/Dir |
2019-04-12 18:36:47 +03:00
| -libDir [list,params] | Устанавливает дополнительные пути к библиотекам |
2018-12-15 20:51:25 +03:00
| | Пример -libDir ~/myLib,~/newLibs |
2019-04-12 18:36:47 +03:00
| -extraPlugin [list,params] | Устанавливает дополнительный путь для extraPlugin приложения |
| -recursiveDepth [params] | Устанавливает глубину поиска библиотек (по умолчанию 0) |
| -targetDir [params] | Устанавливает целевой каталог (по умолчанию это путь к первому развертываемому файлу)|
2019-09-12 09:38:30 +03:00
| -verbose [0-3] | Показывает дебаг лога |
| deploySystem | Копирует все библиотеки кроме libc |
| clear | Удаляет все старые файлы (с прошлого запуска) |
| force-clear | Удаляет целевую директорию перед развертыванием |
| | пример -runScript myApp.sh |
| allQmlDependes | Извлекает все библиотеки qml. |
| | (не рекомендуется, так как занимает много памяти) |
| noLibc | Отключает копирование libc |
2019-04-12 18:36:47 +03:00
| noStrip | Пропускает шаг strip |
| noTranslations | Пропускает файлы переводов |
2019-03-28 19:23:22 +03:00
| | не работает без qmake и в snap |
2019-09-12 09:38:30 +03:00
| noOverwrite | Запрещает замену уже существующих файлов. |
2019-08-12 18:05:28 +03:00
| v / version | Показывает версию приложения |
2018-09-18 16:36:05 +03:00
2018-10-02 09:48:51 +03:00
#### Пример: cqtdeployer -bin myApp -qmlDir ~/MyAppProject/qml -qmake ~/Qt/5.11.1/gcc_64/bin/qmake clear
2018-08-19 13:15:32 +03:00
## Build для Linux
2018-12-08 14:02:32 +03:00
- ./staticBuild
- ./sharedBuild
- ./snapBuild
2018-12-16 21:00:24 +03:00
## Build для Windows
- Из qtCreator
2018-12-08 14:02:32 +03:00
### Snap
[](https://snapcraft.io/cqtdeployer)
2018-08-19 13:15:32 +03:00
## Установить
Вы можете загрузить последнюю версию приложения [здесь ](https://github.com/QuasarApp/Console-QtDeployer/releases ).
## Пожертвовать
Если вы хотите помочь проекту, то вы можете пожертвовать небольшую сумму на наш биткойн-кошелек.
### Биткойн-адрес - 1NJNbDKmezcUcHRfzpBeq2fHeG21oEKX8Q