mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-04-27 02:04:33 +00:00
Welcome to the Console Qt Deployer!
What is Console Qt Deployer
The Console QtDeployer is console veriosn of the QtDeployer.
Key differences of this program:
- 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
How to use
Example: cqtdeployer <-bin [params]> [options]
Options:
Option | Descriptiion |
---|---|
-bin [list, params] | Deployable file or folder. For example -bin |
-binDir [params] | A folder which includes deployable files (recursive search). |
-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. |
-qmlDir [params] | Qml data dir. For example -qmlDir ~/my/project/qml |
-qmake [params] | Qmake path. For example |
-qmake ~/Qt/5.14.0/gcc_64/bin/qmake | |
-ignore [list,params] | The list of libs to ignore. |
For example -ignore libicudata.so.56,libicudata2.so.56 | |
-ignoreEnv [list,params] | The list of the environment to ignore. |
For example -ignoreEnv /bad/dir,/my/bad/Dir | |
-libDir [list,params] | Sets additional paths for extra libs of an app. |
For example -libDir |
|
-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 |
clear | Deletes deployable files of the previous session. |
force-clear | Deletes the destination directory before deployment. |
For example -runScript myApp.sh | |
allQmlDependes | Extracts all the qml libraries. |
(not recommended, as it takes great amount of computer memory) | |
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. |
It doesn't work without qmake and inside a snap package | |
noOverwrite | Prevents replacing existing files. |
v / version | Shows compiled version |
Example: cqtdeployer -bin myApp -qmlDir ~/MyAppProject/qml -qmake ~/Qt/5.11.1/gcc_64/bin/qmake clear
Build for Linux
- ./staticBuild
- ./sharedBuild
- ./snapBuild
Build for Windows
- from qtCreator
Install
You can download the latest version of the application here.
Snap
Donate
If you want to support the project,you can donate into our bitcoin wallet.
Bitcoin address - 1NJNbDKmezcUcHRfzpBeq2fHeG21oEKX8Q
Console QtDeployer является консольной реализацией QtDeployer.
Основные отличия этой программы:
- Производительность - эта программа развертывает приложение в несколько раз быстрее (до 10 секунд)
- Гибкость - это приложение имеет флаги, которые помогут вам настроить деплоинг под ваши нужды и нужды вашего проекта
Как использовать
пример : cqtdeployer <-bin [params]> [options]
Options:
Option | Descriptiion |
---|---|
help / h | Показывает справку |
-bin [list, params] | Развертываемый файл или папка. пример -bin |
-binDir [params] | Папка с развертываемыми файлами (с рекурсивным поиском). |
-confFile [params] | Путь к файлу json со всеми конфигурациями развертывания. С помощью этого файла можно добавить нужные опции, тем самым упрастить вызов комманды в консоле. Однако пораметры в кансоле имеют больший приоритет чем в файле. |
-qmlDir [params] | Папка qml. пример -qmlDir ~/my/project/qml |
-qmake [params] | Путь к qmake. пример |
-qmake ~/Qt/5.14.0/gcc_64/bin/qmake | |
-ignore [list,params] | Список библиотек для игнорирования |
Пример -ignore libicudata.so.56,libicudata2.so.56 | |
-ignoreEnv [list,params] | Список путей для игнорирования. |
Пример -ignoreEnv /bad/dir,/my/bad/Dir | |
-libDir [list,params] | Устанавливает дополнительные пути к библиотекам |
Пример -libDir |
|
-extraPlugin [list,params] | Устанавливает дополнительный путь для extraPlugin приложения |
-recursiveDepth [params] | Устанавливает глубину поиска библиотек (по умолчанию 0) |
-targetDir [params] | Устанавливает целевой каталог (по умолчанию это путь к первому развертываемому файлу) |
-verbose [0-3] | Показывает дебаг лога |
deploySystem | Копирует все библиотеки кроме libc |
clear | Удаляет все старые файлы (с прошлого запуска) |
force-clear | Удаляет целевую директорию перед развертыванием |
пример -runScript myApp.sh | |
allQmlDependes | Извлекает все библиотеки qml. |
(не рекомендуется, так как занимает много памяти) | |
noLibc | Отключает копирование libc |
noStrip | Пропускает шаг strip |
noTranslations | Пропускает файлы переводов |
не работает без qmake и в snap | |
noOverwrite | Запрещает замену уже существующих файлов. |
v / version | Показывает версию приложения |
Пример: cqtdeployer -bin myApp -qmlDir ~/MyAppProject/qml -qmake ~/Qt/5.11.1/gcc_64/bin/qmake clear
Build для Linux
- ./staticBuild
- ./sharedBuild
- ./snapBuild
Build для Windows
- Из qtCreator
Snap
Установить
Вы можете загрузить последнюю версию приложения здесь.
Пожертвовать
Если вы хотите помочь проекту, то вы можете пожертвовать небольшую сумму на наш биткойн-кошелек.
Биткойн-адрес - 1NJNbDKmezcUcHRfzpBeq2fHeG21oEKX8Q
Description
Languages
C++
89.8%
QML
6.6%
CMake
1.4%
JavaScript
0.5%
Shell
0.5%
Other
1%