diff --git a/src/plasmaquick/view.cpp b/src/plasmaquick/view.cpp index 9ab99c67d..8945a7ca1 100644 --- a/src/plasmaquick/view.cpp +++ b/src/plasmaquick/view.cpp @@ -28,6 +28,7 @@ #include "plasma/pluginloader.h" #include +#include namespace PlasmaQuick { @@ -169,6 +170,13 @@ View::View(Plasma::Corona *corona, QWindow *parent) if (corona->package().isValid()) { PackageUrlInterceptor *interceptor = new PackageUrlInterceptor(engine(), corona->package()); engine()->setUrlInterceptor(interceptor); + + KDeclarative::KDeclarative kdeclarative; + kdeclarative.setDeclarativeEngine(engine()); + //binds things like kconfig and icons + kdeclarative.setupBindings(); + qWarning()<<"AAA"<package().metadata().pluginName(); + kdeclarative.setTranslationDomain(corona->package().metadata().pluginName()); } else { qWarning() << "Invalid home screen package"; }