Plasma/libplasma2/asyncstructureinstallpackage

From KDE Community Wiki

Discussion

Package::installPackage is current synchronous, which prevents running it in another thread, doing user interaction (e.g. to confirm other dependencies to download) or taking additional actions such as downloads.

Proposed Solution

Make Package::installPackage async and return a KJob* that represents the install process.