2019-06-11 10:15:49 +03:00
2020-09-09 13:50:53 +03:00
2020-03-17 22:18:01 +03:00
2019-04-08 16:46:04 +03:00
2020-03-21 16:53:01 +03:00
2019-04-07 00:01:51 +03:00
2019-03-25 21:29:57 +03:00
2019-11-14 10:06:22 +03:00
2020-02-06 10:59:44 +03:00
2019-12-20 10:32:47 +03:00
2020-03-21 16:08:26 +03:00
2019-09-24 15:11:30 +03:00
2019-11-16 18:46:01 +03:00
2018-08-19 20:16:51 +03:00
2019-05-15 14:56:38 +03:00
2020-02-06 10:59:44 +03:00
2019-06-13 16:03:21 +03:00
2020-02-04 17:01:26 +03:00
2018-08-17 17:04:32 +03:00
2019-12-09 13:48:33 +03:00
2020-02-04 18:10:25 +03:00

CQtDeployer CQtDeployer

Logo


What is CQtDeployer

The CQtDeployer is application for extract all depends library of executable and create launch script for your application.

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
  • 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.

How to use

Example: cqtdeployer <-bin [params]> [options]

cqtdeployer -bin myApp -qmlDir ~/MyAppProject/qml -qmake ~/Qt/5.12.4/gcc_64/bin/qmake clear

Options:

Option Descriptiion
-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).
-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 /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
-qmlOut [params] Sets path to qml out directory
-libOut [params] Sets path to libraries out directory
-trOut [params] Sets path to translations out directory
-pluginOut [params] Sets path to plugins out directory
-binOut [params] Sets path to binary out directory
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.
deploySystem-with-libc deploy all libs libs (only linux)
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.12.4/gcc_64/bin/qmake clear

Build for Linux

  • install qt and qt QtInstallFrameWork from qt installer
  • git clone https://github.com/QuasarApp/CQtDeployer.git
  • cd CQtDeployer
  • git submodule update --init --recursive
  • qmake -r
    • Here you must definitely call the qmake that was loaded from the 1st item.
    • Example: ~/Qt/5.14.0/gcc_64/bin/qmake -r
  • make -j$(nproc)
  • make deploy
  • ./Distro/CQtDeployerInstaller.run

Build for Windows (CMD)

  • install qt and qt QtInstallFrameWork from qt installer
  • git clone https://github.com/QuasarApp/CQtDeployer.git
  • cd CQtDeployer
  • git submodule update --init --recursive
  • SET PATH=C:/Qt/Tools/mingw730_64/bin;%PATH%
    • It is important to set up the qt environment.
  • qmake.exe -r
    • 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
  • migw32-make.exe -j$(nproc)
  • migw32-make.exe deploy
  • ./Distro/CQtDeployerInstaller.exe

Install

You can download the latest version of the application here.

Snap

Get it from the Snap Store

Donate

If you want to support the project,you can donate into our bitcoin wallet.

Bitcoin address - 1NJNbDKmezcUcHRfzpBeq2fHeG21oEKX8Q




Qt CQtDeployer - это приложением для извлечения всех зависимых библиотек исполняемого файла и создает сценарий запуска для вашего приложения.

Основные отличия этой программы:

  • Производительность - эта программа развертывает приложение в несколько раз быстрее (до 10 секунд)
  • Гибкость - это приложение имеет флаги, которые помогут вам настроить деплоинг под ваши нужды и нужды вашего проекта
  • Crossdeploy: приложение поддерживает Windows и дистрибутивы Linux, это означает, что вы можете использовать его не только для развертывания проекта для вашей платформы, но и для развертывания проекта в Linux для Windows и наоборот.

Как использовать

пример : cqtdeployer <-bin [params]> [options]

Options:

Option Descriptiion
help / h Показывает справку
-bin [list, params] Развертываемый файл или папка. пример -bin /my/project/bin/,/my/project/bin.exe
-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 /myLib,/newLibs
-qmlOut [params] Установит путь к папке с qml
-libOut [params] Установит путь к папке с зависимостями
-trOut [params] Установит путь к папке с файламми переводов
-pluginOut [params] Установит путь к папке с плагинами
-binOut [params] Установит путь к папке с исполняемыми файлами
-extraPlugin [list,params] Устанавливает дополнительный путь для extraPlugin приложения
-recursiveDepth [params] Устанавливает глубину поиска библиотек (по умолчанию 0)
-targetDir [params] Устанавливает целевой каталог (по умолчанию это путь к первому развертываемому файлу)
-verbose [0-3] Показывает дебаг лога
deploySystem Копирует все библиотеки кроме libc
clear Удаляет все старые файлы (с прошлого запуска)
force-clear Удаляет целевую директорию перед развертыванием
пример -runScript myApp.sh
allQmlDependes Извлекает все библиотеки qml.
(не рекомендуется, так как занимает много памяти)
deploySystem-with-libc Копирует все зависимости в том числе и libc
noStrip Пропускает шаг strip
noTranslations Пропускает файлы переводов
не работает без qmake и в snap
noOverwrite Запрещает замену уже существующих файлов.
v / version Показывает версию приложения

Пример: cqtdeployer -bin myApp -qmlDir ~/MyAppProject/qml -qmake ~/Qt/5.12.4/gcc_64/bin/qmake clear

Build для Linux

  • установите qt и qt QtInstallFrameWork из Установщик qt
  • git clone https://github.com/QuasarApp/CQtDeployer.git
  • cd CQtDeployer
  • git submodule update --init --recursive
  • qmake -r
    • Здесь нужно обязательно вызвать тот qmake, который был загружен из 1го пункта.
    • Пример: ~/Qt/5.14.0/gcc_64/bin/qmake -r
  • make -j$(nproc)
  • make deploy
    • эта команда требует установленный cqtdeployer
  • ./Distro/CQtDeployerInstaller.run

Build для Windows (CMD)

  • установите qt и qt QtInstallFrameWork из Установщик qt
  • git clone https://github.com/QuasarApp/CQtDeployer.git
  • cd CQtDeployer
  • git submodule update --init --recursive
  • SET PATH=C:/Qt/Tools/mingw730_64/bin;%PATH%
    • Здесь важно настроить окружение qt.
  • qmake.exe -r
    • Здесь нужно обязательно вызвать тот qmake, который был загружен из 1го пункта.
    • Пример: C:/Qt/5.14.0/mingw73_64/bin/qmake.exe -r
  • migw32-make.exe -j$(nproc)
  • migw32-make.exe deploy
    • эта команда требует установленный cqtdeployer
  • ./Distro/CQtDeployerInstaller.exe

Snap

Загрузите из Snap Store

Установить

Вы можете загрузить последнюю версию приложения здесь.

Snap

Загрузите из Snap Store

Установить

Вы можете загрузить последнюю версию приложения здесь.

Пожертвовать

Если вы хотите помочь проекту, то вы можете пожертвовать небольшую сумму на наш биткойн-кошелек.

Биткойн-адрес - 1NJNbDKmezcUcHRfzpBeq2fHeG21oEKX8Q

Languages
C++ 89.8%
QML 6.6%
CMake 1.4%
JavaScript 0.5%
Shell 0.5%
Other 1%