Import KIconProvider from KDeclarative
This will allow the consumers to register an instance without relying on KDeclarative. To avoid the QtQuick dependency or having to create a new target, the class is header-only.
See teams/frameworks-devs/kf6-workboard#14 (comment 506772) for the discussion.
Edited by Alexander Lohnau