should remove the widget dependency in its core libraries
done with https://invent.kde.org/frameworks/kpeople/-/merge_requests/31