The kde-neon extension

:warning: This is draft documentation about an unreleased feature. You can test it out by using the candidate builds of snapcraft. Run snap refresh snapcraft --channel candidate to switch.

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
    ...

:information_source: If your application needs access to the Qt5 and KDE Frameworks development tools, add kde-frameworks-5-core18-sdk to the build-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 add kde-frameworks-5-core18 to build-snaps.

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.

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.

ⓘ This is a snapcraft extension. See Snapcraft extensions and Supported extensions for further details on how extensions are used.