This extension helps you snap desktop applications that use Qt5 and/or KDE Frameworks.
Add extensions: [ kde-neon ]
to the application definition in your snapcraft.yaml
file. See QT5 and KDE Frameworks applications for a complete tutorial on how to use this extension.
apps:
kcalc:
extensions:
- kde-neon
command: kcalc
...
If your application needs access to the Qt5 and KDE Frameworks development tools, add
kde-frameworks-5-core18-sdk
to thebuild-snaps
of the part that builds your application. Some applications also require the Qt runtime libraries to be present at build time. In that case, also addkde-frameworks-5-core18
tobuild-snaps
.
To do this, it connects each application to the following content snaps at run time.
gtk-common-themes
for common icon, cursor and sound themes.kde-frameworks-5-core18
for the Qt5 and KDE Frameworks runtime libraries.It also configures each application entry with these additional plugs.
For a complete picture of what this extension does, add it to your app definition and run snapcraft expand-extensions
.
Currently, this extension only supports snaps targeting the amd64 architecture.
Snapcraft extensions enable snap developers to easily incorporate a set of common requirements into a snap. See Snapcraft extensions for further details.
Last updated 4 months ago. Help improve this document in the forum.