--- a/qmlFrontend/main.cpp Mon Feb 16 22:33:15 2015 +0300
+++ b/qmlFrontend/main.cpp Thu Apr 02 21:09:56 2015 +0300
@@ -13,12 +13,14 @@
HWEngine::exposeToQML();
+ Q_INIT_RESOURCE(qmlFrontend);
+
QtQuick2ApplicationViewer viewer;
viewer.engine()->addImageProvider(QLatin1String("preview"), new PreviewImageProvider());
viewer.engine()->addImageProvider(QLatin1String("theme"), new ThemeIconProvider());
- viewer.setMainQmlFile(QStringLiteral("qml/qmlFrontend/main.qml"));
+ viewer.setSource(QUrl("qrc:/qml/qmlFrontend/main.qml"));
viewer.showExpanded();
return app.exec();