diff --git a/src/mvvmcore/coreapp.cpp b/src/mvvmcore/coreapp.cpp index 1d0b314..3b7f79f 100644 --- a/src/mvvmcore/coreapp.cpp +++ b/src/mvvmcore/coreapp.cpp @@ -41,11 +41,14 @@ void CoreApp::registerApp() qRegisterMetaType(); registerInterfaceConverter(); - //setup setParent(qApp); CoreAppPrivate::instance = this; performRegistrations(); + + //self-inject properties (after performRegistrations, as they might register an interface converter) + ServiceRegistry::instance()->injectServices(this); + if(CoreAppPrivate::bootEnabled) QMetaObject::invokeMethod(this, "bootApp", Qt::QueuedConnection); }