2018-12-26 20:13:14 +03:00
|
|
|
# This example for packing apps to snap
|
2018-12-26 20:21:57 +03:00
|
|
|
You need to build your project with your own qt version
|
2018-12-26 20:10:58 +03:00
|
|
|
|
2018-12-26 20:13:53 +03:00
|
|
|
```bash
|
2019-04-08 16:43:13 +03:00
|
|
|
cd ~/ # go to home dir
|
|
|
|
snap install cqtdeployer # install cqtdeployer from snap store
|
|
|
|
git clone https://github.com/QuasarApp/Console-QtDeployer.git # clone this project
|
|
|
|
cd Console-QtDeployer/examples/TestQMLWidgets # go to folder with example
|
|
|
|
/path/to/your/qmake/bin/qmake TestQMLWidgets.pro # run your qmake for this example
|
|
|
|
make # build example
|
2018-12-26 20:10:58 +03:00
|
|
|
cqtdeployer -bin ./build/TestQMLWidgets -qmake /path/to/your/qmake/bin/qmake -qmlDir ./ -targetDir ./distro
|
2019-04-08 16:43:13 +03:00
|
|
|
# run cqtdeployer for deploy example project
|
|
|
|
snapcraft # create snapcraft build
|
|
|
|
snap install cqtdeployerexample_0.1_amd64.snap --dangerous # install this example
|
|
|
|
cqtdeployerexample # check
|
2018-12-26 20:10:58 +03:00
|
|
|
```
|
2018-12-26 20:13:14 +03:00
|
|
|
Done!
|
2019-02-26 09:50:37 +03:00
|
|
|
|