18 #include "SystemImage.h" 22 void BackendPlugin::registerTypes(
const char *uri)
24 Q_ASSERT(uri == QLatin1String(
"Ubuntu.SystemImage"));
26 qmlRegisterSingletonType<SystemImage>(uri, 0, 1,
"SystemImage",
27 [](QQmlEngine*, QJSEngine*) -> QObject* {
return new SystemImage; });