2021-06-11 11:45:43 +03:00
# Release of CQtDeployer v1.5.0
Release of the C++/Qt and QML application deployment utility CQtDeployer v1.5.0
2020-11-19 10:14:43 +03:00
2021-05-24 16:55:30 +03:00
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.
2020-11-19 10:14:43 +03:00
## Complete list of all changes
2021-03-30 11:08:21 +03:00
## CQtDeployer 1.5.0
2021-05-21 12:14:31 +03:00
2021-03-30 11:08:21 +03:00
### New features
2021-05-21 12:14:31 +03:00
2021-03-30 11:08:21 +03:00
- Added new theme of qif installer "quasarDark".
- Added support of work with custom template for qif option.
2021-05-21 12:14:31 +03:00
- Added support of debian packages.
2021-05-24 16:55:30 +03:00
- Added support of targets icons. now the icon option work with targets but not packages.
2021-03-30 11:08:21 +03:00
- 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
2021-05-24 16:55:30 +03:00
- Added command for init default qif and deb templates (getDefaulttemplate)
2021-03-30 11:08:21 +03:00
- Added support of import custom launch scripts
2021-05-21 12:14:31 +03:00
- Added support of md5 packages hashes
- Added support of Qt6.1
2021-03-30 11:08:21 +03:00
2020-11-19 10:14:43 +03:00
### Fixes
2021-05-21 12:14:31 +03:00
2021-03-30 11:08:21 +03:00
- Fixed stability for the deploySystem option on windows
- Fixed verbose log.
- Fixed general output log.
2021-05-21 12:14:31 +03:00
- Fixed typo errors in log.
2021-05-24 16:55:30 +03:00
- Fixed cross-deployment for ARM platform .
2021-05-21 12:14:31 +03:00
- Fixed deploy Qt6 qml
- Fixed powershell commands on Windows
2020-11-19 10:14:43 +03:00
- bug fixes and improvements.
2021-03-30 11:08:21 +03:00
### New Envirement Variables
2021-05-21 12:14:31 +03:00
2021-03-30 11:08:21 +03:00
- 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.
2020-11-19 10:14:43 +03:00
### New parameters
2021-05-21 12:14:31 +03:00
2021-05-24 16:55:30 +03:00
- zip - create a ZIP archive for deployable programm
- deb - Create the deb package for deployable programm
2020-11-19 10:14:43 +03:00
- homepage - Sets the homepage url for a package
2021-03-30 11:08:21 +03:00
- 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
2021-04-20 14:19:05 +03:00
- binPrefix - Sets prefix for bin option.
2021-05-21 12:14:31 +03:00
- noHashSum - Disables campute hashes of packages
2020-11-19 10:14:43 +03:00
2021-05-21 21:34:45 +03:00
### Deprecated and removed options
- deploySystem-with-libc - instead of this option use the deploySystem option.
- allQmlDependes - instead of this option use the qmlDir option.
2020-11-19 10:14:43 +03:00
## Detailed analysis of the most interesting changes.
2021-05-21 12:14:31 +03:00
### Debian pacakges
This feature is very conveniently if you want to create server application.
2021-03-30 11:08:21 +03:00
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.
2021-05-21 12:14:31 +03:00
```bash
2021-03-30 11:27:51 +03:00
cqtdeployer -bin mySimpleServer deb -qmake ~/Qt/5.15.2/gcc_64/bin/qmake
```
2021-05-24 16:55:30 +03:00
The SimpleServer depends only on qt, so it was enough for me to specify only the path to qmake for my application.
2021-03-30 11:27:51 +03:00
It is all!!!. And i get the workly deb package.
2021-05-21 12:14:31 +03:00
By Default CQtDeployer create an independet debian packages.
### Zip arrhives
This feature allow compress your distribution pacakges to zip arrhive.
Example:
```bash
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.
2021-03-30 11:27:51 +03:00
2021-05-21 12:14:31 +03:00
```
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:
``` json
"targetPackage": [
[
"myCustomInstaller",
"tar1"
]
],
```
``` bash
.
├── 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.
2021-03-30 11:27:51 +03:00
2021-05-21 12:14:31 +03:00
If you have only one package then you can use the **name** option for set name the application.
```bash
cqtdeployer ... -qif /path/to/my/custom/qif/template -name myCustomInstaller
```
2021-03-30 11:27:51 +03:00
2021-05-21 12:14:31 +03:00
#### Do not forget to rename the your package folder to the packaga name of the name option.
2021-03-30 11:08:21 +03:00
2021-05-21 12:14:31 +03:00
```bash
.
├── config
│ ├── config.xml
│ └── style.qss
└── packages
└── myCustomInstaller < < "This is folder of the your package"
└── meta
├── installscript.qs
└── package.xml
4 directories, 4 files
```