The kde-neon extension
This extension helps you snap desktop applications that use Qt5 and/or KDE Frameworks.
How to use it
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 you are using
core18
as a base and your application needs access to the Qt5 and KDE Frameworks development tools, addkde-frameworks-5-core18-sdk
to thebuild-snaps
of the part that builds your application (this action is not required when usingcore20
as a base).
What it does
- It makes the latest Qt5 and KDE Frameworks libraries available to your application at run time.
- It initialises Qt5 and the desktop environment before your application starts so functionality like fonts, cursor themes and a11y work correctly.
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 when the base iscore18
. -
kde-frameworks-5-99-qt-5-15-7-core20
for the Qt5 and KDE Frameworks runtime libraries when the base iscore20
. -
kde-frameworks-5-102-qt-5-15-8-core22
for the Qt5 and KDE Frameworks runtime libraries when the base iscore22
.
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
.
Snapcraft extensions enable snap developers to easily incorporate a set of common requirements into a snap. See Snapcraft extensions for further details.
Last updated 3 months ago.