Andrei YankovichMay 24, 2021, 10:10 a.m.

Release of the C++/Qt and QML application deployment utility CQtDeployer v1.5.0

Content

Release of the C++/Qt and QML application deployment utility CQtDeployer v1.5.0

Logo

This is the first major update in 2021. CQtDeployer 1.5 contains many useful improvements. The biggest improvements are the addition of the ability to package deb packages, and the ability to use your own packaging template for the qt install framework.

Complete list of all changes

CQtDeployer 1.5.0

New features

  • Added new theme of qif installer "quasarDark".
  • Added support of work with custom template for qif option.
  • Added support of debian packages.
  • Added support of targets icons. now the icon option work with targets but not packages.
  • Added support of the control custom translation files.
  • Added support the deploy nonexecutable data. (extraData option)
  • Added envirement variables for deployed applications.
  • Added support of the generate deb packages.
  • Added support of the generate zip arrhives.
  • Added support create a qif installer using custom template
  • Added command for init default qif and deb templates (getDefaulttemplate)
  • Added support of import custom launch scripts
  • Added support of md5 packages hashes
  • Added support of Qt6.1

Fixes

  • Fixed stability for the deploySystem option on windows
  • Fixed verbose log.
  • Fixed general output log.
  • Fixed typo errors in log.
  • Fixed cross-deployment for ARM platform .
  • Fixed deploy Qt6 qml
  • Fixed powershell commands on Windows
  • bug fixes and improvements.

New Envirement Variables

  • CQT_RUN_FILE - This variable contains path to the run script of the using application.
  • CQT_PKG_ROOT - This variable contains path to root of the current package.

New parameters

  • zip - create a ZIP archive for deployable programm
  • deb - Create the deb package for deployable programm
  • homepage - Sets the homepage url for a package
  • noQt - Ignors the error of initialize of a qmake. Use only if your application does not use the qt framework
  • allowEmptyPackages - Allows configure the empty packages.
  • getDefaultTemplate - Extracts defaults deb or qif templates.
  • tr - Adds qm files into the translations folder.
  • extraData - Adds the extra files or directories like a target. The selected directory will be copy to the extraDataOut location with save own structure.
  • extraDataOut - Sets path to extra data files out directory.
  • prefix - Sets the prefix for the package relatively a target directory
  • homePage - Sets the homepage url for a package
  • binPrefix - Sets prefix for bin option.
  • noHashSum - Disables campute hashes of packages

Deprecated and removed options

  • deploySystem-with-libc - instead of this option use the deploySystem option.
  • allQmlDependes - instead of this option use the qmlDir option.

Detailed analysis of the most interesting changes.

Debian pacakges

This feature is very conveniently if you want to create server application.
For example i need to create simple server for my simple game.
And my steps: * build my application in the release mode. * run cqtdeployer with deb option.

cqtdeployer -bin mySimpleServer deb -qmake ~/Qt/5.15.2/gcc_64/bin/qmake

The SimpleServer depends only on qt, so it was enough for me to specify only the path to qmake for my application.

It is all!!!. And i get the workly deb package.
By Default CQtDeployer create an independet debian packages.

Zip arrhives

This feature allow compress your distribution pacakges to zip arrhive.

Example:

cqtdeployer -bin mySimpleServer zip -qmake ~/Qt/5.15.2/gcc_64/bin/qmake

Custom Qt Installer Framework tempaltes.

Now you can override default template of the cqtdeployer. To do this, you must pass the path to your template to the qif parameter.

cqtdeployer ... -qif /path/to/my/custom/qif/template

Template

The qif template should contain 2 folders: * packages * config

Attention

The name of the packages in the packages folder must match the names of the packages during deployment.

For example:

"targetPackage": [
    [
        "myCustomInstaller",
        "tar1"
    ]
],
.
├── config
│ ├── config.xml
│ └── style.qss
└── packages
    └── myCustomInstaller
        └── meta
            ├── installscript.qs
            └── package.xml

4 directories, 4 files

If the folder names do not match the package names then CQtDeployer will use the standard QIF package.

If you have only one package then you can use the name option for set name the application.

cqtdeployer ... -qif /path/to/my/custom/qif/template -name myCustomInstaller

Do not forget to rename the your package folder to the packaga name of the name option.

.
├── config
│   ├── config.xml
│   └── style.qss
└── packages
    └── myCustomInstaller  << "This is folder of the your package"
        └── meta
            ├── installscript.qs
            └── package.xml

4 directories, 4 files

We recommend hosting TIMEWEB
We recommend hosting TIMEWEB
Stable hosting, on which the social network EVILEG is located. For projects on Django we recommend VDS hosting.
- company blog

Comments

Only authorized users can post comments.
Please, Log in or Sign up
Timeweb

Let me recommend you the excellent hosting on which EVILEG is located.

For many years, Timeweb has been proving his stability.

For projects on Django I recommend VDS hosting

View Hosting
L

C++ - Test 001. The first program and data types

  • Result:80points,
  • Rating points4
DTs

C++ - Test 001. The first program and data types

  • Result:46points,
  • Rating points-6
SB

Qt - Test 001. Signals and slots

  • Result:94points,
  • Rating points8
Last comments
JaO

Как соответствовать новым требованиям Google Play

Ку всем! Вопрос! Как с помощью JNI вызвать оплату на android устройстве? Попробовал Qt Purchasing вроде пошло... но android пишет что библиотека устарела. В qt6 пока поддержки purchasing нет. Р…

Django - Tutorial 014. Displays a list of popular articles on Django

Я как понял, этот метод создает статистику каждый день (на каждый день), не удаляя старые данные за день и выводит все данные за сегодняшние просмотры у всех статей?

Qt/C++ - Lesson 006. QSqlQueryModel – Tables in Qt with SQL-query

Изменить запрос при создании модели.
L
  • Livis
  • May 30, 2021, 1:18 p.m.

Django - Tutorial 001. Deploying a site on Django + PostgreSQL + Gunicorn + Nginx

Отвечал на все команды после sudo service supervisor start Исправил таким образом sudo killall supervisordsudo supervisord -c /etc/supervisor/supervisord.conf
D

Django - Tutorial 001. Deploying a site on Django + PostgreSQL + Gunicorn + Nginx

Это на какую команду так отвечает?
Now discuss on the forum
v
  • vika
  • June 17, 2021, 12:19 a.m.

Вопрос новичка ui-форма

все получилось. создала обьект, исправила ошибки и все заработало. спасибо, что есть с кем поговорить.
s

Ключевое слово class

Разобрался,на стаковерфлоу нашел топик и понял почему так происходило .
KM

Django как воспользоваться результатом метода?

Priv = 2020 Now = 2021 Next = 2022 Rok = ( (None, "Nie wybran"), (Priv, '2020'), (Now, '2021'), (Next, '2022') ) Rok = models.IntegerField(choices=Rok, de…

QScrollArea dynamically add QCheckBoxes

Всё правильно. Это просто спамер, который отправился в вечный бан.

Папка с шаблоном сайта

Есть проект с поддержкой динамического создания поддоменов. Как назначить разные пути к шаблонам в templates from django.shortcuts import renderfrom horticulture.utilities import get_horticu…
About
Services
© EVILEG 2015-2021
Recommend hosting TIMEWEB