81
81
parsePluginOptions(app.arguments(), defaultPlugin, pluginOptions);
84
85
QObject::connect(view.engine(), SIGNAL(quit()), &app, SLOT(quit()),
86
87
qmlRegisterType<QAbstractItemModel>();
87
88
qmlRegisterType<SystemSettings::PluginManager>("SystemSettings", 1, 0, "PluginManager");
89
90
view.setResizeMode(QQuickView::SizeRootObjectToView);
90
91
view.engine()->addImportPath(PLUGIN_PRIVATE_MODULE_DIR);
91
92
view.engine()->addImportPath(PLUGIN_QML_DIR);