mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-05-08 07:29:36 +00:00
19 lines
1.1 KiB
Markdown
19 lines
1.1 KiB
Markdown
# This example for packing apps to snap
|
|
You need to build your project with your own qt version
|
|
|
|
```bash
|
|
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
|
|
cqtdeployer -bin ./build/TestQMLWidgets -qmake /path/to/your/qmake/bin/qmake -qmlDir ./ -targetDir ./distro
|
|
# run cqtdeployer for deploy example project
|
|
snapcraft # create snapcraft build
|
|
snap install cqtdeployerexample_0.1_amd64.snap --dangerous # install this example
|
|
cqtdeployerexample # check
|
|
```
|
|
Done!
|
|
|