ApplicationController appController;
+#if 0
+ qmlRegisterUncreatableType<FontsConfigProperties>("FontConfig", 1, 0, "FontsConfigProperties", "Error");
+ qmlRegisterUncreatableType<FontInfo>("FontConfig", 1, 0, "FontInfo", "Error");
+ qmlRegisterUncreatableType<InstalledFontInfo>("FontConfig", 1, 0, "InstalledFontInfo", "Error");
+ qmlRegisterUncreatableType<FontsConfEditorController>("FontConfig", 1, 0, "FontsConfEditorController", "Error");
+#else
qmlRegisterType<FontsConfigProperties>();
qmlRegisterType<FontInfo>();
qmlRegisterType<InstalledFontInfo>();
qmlRegisterType<FontsConfEditorController>();
+#endif
QmlApplicationViewer viewer;
viewer.rootContext()->setContextProperty("controller", &appController);