CQtDeployer/md/en/1_6.md

105 lines
2.2 KiB
Markdown
Raw Normal View History

2022-10-19 19:47:11 +03:00
# Release of CQtDeployer v1.6
Release of the C++/Qt and QML application deployment utility CQtDeployer v1.6
This is major release that include more improvements in build system.
From now cqtdeployer using CMake build system. So from now build from source will be easier.
## Complete list of all changes
## CQtDeployer 1.6
### New features
- Move to Cmake build system
- Refactoring all project structure
- Improved QML parser
- Add support qt 6.4
2022-10-23 13:36:32 +03:00
- Added support (snap version) deploy apps that was buildet with Qt from system
2022-10-19 19:47:11 +03:00
### Fixes
- Fixed snap version of cqtdeployer
- Fixed deploy of windows apps
2022-10-23 13:36:32 +03:00
- Fixed documentation web city (added support of backend search engine)
2022-10-19 19:47:11 +03:00
2022-10-23 13:36:32 +03:00
### New options of the build
2022-10-22 17:24:05 +03:00
2022-10-22 17:26:45 +03:00
- **CQT_DEPLOYER_TESTS** "This option disables or enables tests of the CQtDeployer project. By Default enabled
- **CQT_DEPLOYER_TOOL** "This option disables or enables example app of the CQtDeployer project. By Default enabled
2022-10-22 17:24:05 +03:00
2022-10-23 13:36:32 +03:00
## Detailed analysis of the most interesting changes.
2022-10-19 19:47:11 +03:00
### New build system
From now, you can build cqtdeployer from source easier
- just clone project
``` bash
2022-10-22 17:24:05 +03:00
2022-10-19 19:47:11 +03:00
git clone https://github.com/QuasarApp/CQtDeployer.git
git submodule update --init --recursive
cd CQtDeployer
2022-10-22 17:24:05 +03:00
2022-10-19 19:47:11 +03:00
```
- create temp build directory
``` bash
2022-10-22 17:24:05 +03:00
2022-10-19 19:47:11 +03:00
mkdir build
cd build
2022-10-22 17:24:05 +03:00
2022-10-19 19:47:11 +03:00
```
2022-10-23 13:36:32 +03:00
- run cmake (this step requires install Qt libraries, you can install qt from system or from official site of Qt corporation.)
2022-10-19 19:47:11 +03:00
``` bash
2022-10-22 17:24:05 +03:00
2022-10-19 19:47:11 +03:00
cmake .. -DCMAKE_PREFIX_PATH=/path/to/qt/root/dir
2022-10-22 17:24:05 +03:00
2022-10-19 19:47:11 +03:00
```
- build cqtdeployer
``` bash
2022-10-22 17:24:05 +03:00
2022-10-19 19:47:11 +03:00
make -j8
2022-10-22 17:24:05 +03:00
2022-10-19 19:47:11 +03:00
```
2022-10-23 13:36:32 +03:00
- create installers and packages (this step requires installers cqtdeployer tool)
2022-10-19 19:47:11 +03:00
``` bash
2022-10-22 17:24:05 +03:00
2022-10-19 19:47:11 +03:00
make deploy
2022-10-22 17:24:05 +03:00
2022-10-19 19:47:11 +03:00
```
Done.
2022-10-23 13:36:32 +03:00
2022-10-19 19:47:11 +03:00
### Note
2022-10-22 17:24:05 +03:00
2022-10-23 13:36:32 +03:00
If you do not have installed cqtdeployer on your build machine, you can compile cqtdeployer tool as a static. For this, disable the BUILD_SHARED_LIBS option.
```bash
cmake .. -DBUILD_SHARED_LIBS=0
make install
```
2022-10-22 17:24:05 +03:00
If you want to change Qt, Just run cmake with override qt location.
2022-10-19 19:47:11 +03:00
```bash
2022-10-22 17:24:05 +03:00
2022-10-23 13:36:32 +03:00
cmake .. -DCMAKE_PREFIX_PATH=/path/to/qt/root/dir
2022-10-19 19:47:11 +03:00
# or
2022-10-23 13:36:32 +03:00
cmake .. -DCMAKE_PREFIX_PATH=~/Qt/6.4.3/gcc_64
2022-10-19 19:47:11 +03:00
```