I've invested some time in making Ubuntu Touch apps available on more targets through an example Snapcraft project, starting right from the default C++ Clickable project and extending it by Snap Packaging.
This also allowed for the lomiri-ui-toolkit-core24 to grow, both in capabilities and correctness for a Snap environment.
If you also want to see more of your favorite Ubuntu Touch apps on the Ubuntu Desktop then go ahead and look at this example right here: https://gitlab.com/fredldotme/snap-packaged-ubuntu-touch-example-app/-/tree/main?ref_type=heads
Little fact on the side: The resulting .snap file is mere 32KB small, since everything else is mostly residing in lomiri-ui-toolkit-core24.
@fredldotme So cool! Just what I need! Thank you!
Never created a snap package before. I am currently trying to do this with a pure QML app. Do you have any pointers into the right direction? When I try to start the app I get the "error": qmlscene: could not find a Qt installation of ''
@jiho Maybe this helps as part of your app in the snapcraft.yaml:
```
environment:
PATH: ${SNAP}/usr/lib/qt5/bin:${PATH}
```
And ensure the qmlscene package is part of your stage.
@fredldotme That did it! Thanks!