16 lines
540 B
Markdown
Raw Normal View History

2018-12-26 20:13:14 +03:00
# This example for packing apps to snap
You nead build your project with own qt version
2018-12-26 20:10:58 +03:00
2018-12-26 20:13:53 +03:00
```bash
2018-12-26 20:14:43 +03:00
snap install cqtdeployer --classic
2018-12-26 20:10:58 +03:00
git clone https://github.com/QuasarApp/Console-QtDeployer.git
2018-12-26 20:13:53 +03:00
cd Console-QtDeployer/examples/TestQMLWidgets
2018-12-26 20:10:58 +03:00
/path/to/your/qmake/bin/qmake TestQMLWidgets.pro
make
cqtdeployer -bin ./build/TestQMLWidgets -qmake /path/to/your/qmake/bin/qmake -qmlDir ./ -targetDir ./distro
snapcraft
snap install cqtdeployerexample_0.1_amd64.snap --dangerous
cqtdeployerexample
```
2018-12-26 20:13:14 +03:00
Done!