Commit bba1c2f0 authored by Linus Jahn's avatar Linus Jahn Committed by GitHub

QRC: Rename all qml file aliases to qml/*.qml (#47)

parent 829e6454
<RCC>
<qresource prefix="/">
<file alias="main.qml">src/qml/main.qml</file>
<file alias="RosterPage.qml">src/qml/RosterPage.qml</file>
<file alias="LoginPage.qml">src/qml/LoginPage.qml</file>
<file alias="qml/main.qml">src/qml/main.qml</file>
<file alias="qml/RosterPage.qml">src/qml/RosterPage.qml</file>
<file alias="qml/LoginPage.qml">src/qml/LoginPage.qml</file>
</qresource>
</RCC>
......@@ -88,7 +88,7 @@ int main(int argc, char *argv[])
QQmlApplicationEngine engine;
engine.rootContext()->setContextProperty("kaidan", &kaidan);
engine.load(QUrl("qrc:/main.qml"));
engine.load(QUrl("qrc:/qml/main.qml"));
QObject *topLevel = engine.rootObjects().value(0);
QQuickWindow *window = qobject_cast<QQuickWindow*>(topLevel);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment