2018-12-26 20:13:14 +03:00
|
|
|
# This example for packing apps to snap
|
2022-07-20 12:35:34 +02:00
|
|
|
You need to build your project with your own Qt version.
|
2018-12-26 20:10:58 +03:00
|
|
|
|
2019-11-12 10:18:56 +03:00
|
|
|
1. cd ~/ # go to home dir
|
|
|
|
2. snap install cqtdeployer # install cqtdeployer from snap store
|
|
|
|
3. git clone https://github.com/QuasarApp/CQtDeployer.git # clone this project
|
|
|
|
4. cd Console-QtDeployer/examples/TestQMLWidgets # go to folder with example
|
|
|
|
5. /path/to/your/qmake/bin/qmake TestQMLWidgets.pro # run your qmake for this example
|
|
|
|
6. make # build example
|
2022-07-20 12:35:34 +02:00
|
|
|
7. cqtdeployer -bin ./build/TestQMLWidgets -qmake /path/to/your/qmake/bin/qmake -qmlDir ./ -targetDir ./distro
|
|
|
|
# run cqtdeployer for deploy example project
|
2019-11-12 10:18:56 +03:00
|
|
|
8. snapcraft # create snapcraft build
|
|
|
|
9. snap install cqtdeployerexample_0.1_amd64.snap --dangerous # install this example
|
2022-07-20 12:35:34 +02:00
|
|
|
10. cqtdeployerexample # check
|
2019-02-26 09:50:37 +03:00
|
|
|
|
2022-07-20 12:35:34 +02:00
|
|
|
Done!
|