The Qt library archive

Loading...

Home

KPackage Framework

Library to load and install packages of non binary files as they were a plugin

Version:
5.80.0 (stable)released on 2021-03-13(older versions: 5.79.0, 5.78.0, 5.77.0, 5.76.0, 5.75.0, 5.74.0, 5.73.0, 5.72.0, 5.71.0, 5.70.0, 5.69.0, 5.68.0, 5.67.0, 5.66.0, 5.65.0, 5.64.0, 5.63.0, 5.62.0, 5.61.0, 5.60.0, 5.58.0, 5.57.0, 5.56.0, 5.55.0, 5.54.0, 5.53.0, 5.52.0, 5.51.0, 5.50.0, 5.49.0, 5.48.0, 5.47.0, 5.46.0, 5.45.0, 5.44.0, 5.43.0, 5.42.0, 5.41.0, 5.40.0, 5.39.0, 5.38.0, 5.37.0, 5.36.0, 5.35.0, 5.34.0, 5.33.0, 5.32.0, 5.32.0, 5.31.0, 5.30.0, 5.29.0, 5.28.0, 5.27.0, 5.26.0, 5.24.0, 5.23.0, 5.22.0, 5.21.0, 5.20.0, 5.19.0, 5.18.0, 5.17.0, 5.16.0, 5.15.0, 5.14.0, 5.13.0, 5.13.0, 5.10.0)
License:
LGPLv2.1+
Platform:
Linux
Author:
The KDE Community
Topic:
Development
Home page:

The KPackage framework lets the user install and load packages of non binary content such as scripted extensions or graphic assets, as if they were traditional plugins.

Using KPackage

The frameworks consists of 3 classes: PackageStructure, PackageLoader and Package The central class is Package, that represents an installed package and is used to access its file, install, update or uninstall it.

In order to use the framework the developer has to define a package structure. (the package type, that will be depending on the particular application, and the type of content that will be provided, may be a sound theme, graphics assets, qml files etc).

The package loader is used to load instances of Package of a given type.


Read more


Packages