mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-04-26 01:34: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 has flags that will help you configure the deployment as you need and your project
Attention
This project is designed to build projects consisting of only one pro file, if you need to collect a large project, then you need to use our template to build and deploy qt applications
How to use
Usage: cqtdeployer <-bin [params]> [options]
Options:
Option | Descriptiion |
---|---|
help / h | show help. |
always-overwrite | Copy files even if the target file exists. |
-bin [list, params] | deployment binry or directory. example -bin |
-binDir [params] | folder with deployment binaries with recursive search. WARNING this flag support only 'so', 'dll' and 'exe' files. If you want deploy linux binary then use '-bin' flag |
-qmlDir [params] | qml datadir. for example -qmlDir ~/my/project/qml |
deploy-not-qt | deploy all libs |
-qmake [params] | qmake path. for example |
-qmake ~/Qt/5.11.1/gcc_64/bin/qmake | |
-ignore [list,params] | ignore filter for libs |
for example -ignore libicudata.so.56,libicudata2.so.56 | |
clear | delete all old deploy data |
for example -runScript myApp.sh | |
allQmlDependes | This flag will force to extract all qml libraries. |
(not recommended, as it takes up a lot of memory) | |
-libDir [list,params] | set additional path for extralib of app |
for example -libDir |
|
-extraPlugin [list,params] | set additional path for extraPlugin of app |
-recursiveDepth [params] | set Depth for recursive search of libs (default 0) |
-targetDir [params] | set target Dir for binaryes (default is path of first target) |
noStrip | skip strip step |
noTranslations | skip translations files |
verbose | show debug log |
Example: cqtdeployer -bin myApp -qmlDir ~/MyAppProject/qml -qmake ~/Qt/5.11.1/gcc_64/bin/qmake clear
Build for Linux
- qmake & make or install qt creator and build on qtcreator
Install
You can download the latest version of the application here.
Donate
If you want to help the project, then you can donate a small amount to our bitcoin wallet.
Bitcoin address - 1NJNbDKmezcUcHRfzpBeq2fHeG21oEKX8Q
Console QtDeployer является консольной реализацией QtDeployer.
Основные отличия этой программы:
- Производительность - эта программа развертывает приложение в несколько раз быстрее (до 10 секунд)
- Гибкость - это приложение имеет флаги, которые помогут вам настроить деплоинг под ваши нужды и нужды вашего проекта
Внимание
Данный проект преднозначен для сборки проектов состоящих всего из одного pro файла, если вам необходимо собрать крупный проект то вам нужно воспользоватся нашим шаблоном для сборки и развертывания qt приложений
Как использовать
пример : cqtdeployer <-bin [params]> [options]
Options:
Option | Descriptiion |
---|---|
help / h | Показать справку |
always-overwrite | Копирует файлы с заменой уже существующих |
-bin [list, params] | Развертываемый файл или папка. пример -bin |
-binDir [params] | Папка с развертываемыми файлами (с рекурсивным поиском). ВНИМАНИЕ! Этот флаг поддерживает только файлы 'so', 'dll' и 'exe'. Если вы хотите развернуть бинарный файл Linux, используйте флаг '-bin' |
-qmlDir [params] | Папка qml. пример -qmlDir ~/my/project/qml |
deploy-not-qt | Копировать все библиотеки |
-qmake [params] | Путь к qmake. пример |
-qmake ~/Qt/5.11.1/gcc_64/bin/qmake | |
-ignore [list,params] | Список библиотек для игнорирования |
Пример -ignore libicudata.so.56,libicudata2.so.56 | |
clear | удалит все старые файлы (с прошлого запуска) |
пример -runScript myApp.sh | |
allQmlDependes | Этот флаг заставит извлекать все библиотеки qml. |
(не рекомендуется, так как занимает много памяти) | |
-libDir [list,params] | Установит дополнительные пути к библиотекам |
Пример -libDir |
|
-extraPlugin [list,params] | Установить дополнительный путь для extraPlugin приложения |
-recursiveDepth [params] | Установит глубену поиска библиотек (по умолчанию 0) |
-targetDir [params] | Установит целевой коталог (по умолчанию это путь к первому развертываемому файлу) |
noStrip | пропустить шаг strip |
noTranslations | пропустить файлы переводов |
verbose | Показ дебаг лога |
Пример: cqtdeployer -bin myApp -qmlDir ~/MyAppProject/qml -qmake ~/Qt/5.11.1/gcc_64/bin/qmake clear
Build для Linux
- qmake & make или установите qtcreator и соберите проект с qt5.9 или выше.
Установить
Вы можете загрузить последнюю версию приложения здесь.
Пожертвовать
Если вы хотите помочь проекту, то вы можете пожертвовать небольшую сумму на наш биткойн-кошелек.
Биткойн-адрес - 1NJNbDKmezcUcHRfzpBeq2fHeG21oEKX8Q
Description
Languages
C++
89.8%
QML
6.6%
CMake
1.4%
JavaScript
0.5%
Shell
0.5%
Other
1%