Commit cf185f24 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

Move qml.qrc to qml folder.

parent 781a0945
......@@ -39,7 +39,7 @@ if(ANDROID)
main.cpp
cppbackend.cpp
cppbackend.h
qml.qrc
qml/qml.qrc
qdsimports.qrc
)
else()
......@@ -47,7 +47,7 @@ else()
main.cpp
cppbackend.cpp
cppbackend.h
qml.qrc
qml/qml.qrc
qdsimports.qrc
)
endif()
......
......@@ -14,7 +14,7 @@ int main(int argc, char *argv[])
[](QQmlEngine *, QJSEngine *) { return new CppBackend; });
QQmlApplicationEngine engine;
const QUrl url(QStringLiteral("qrc:/qml/main.qml"));
const QUrl url(QStringLiteral("qrc:/main.qml"));
QObject::connect(
&engine, &QQmlApplicationEngine::objectCreated, &app,
[url](QObject *obj, const QUrl &objUrl) {
......@@ -23,7 +23,7 @@ int main(int argc, char *argv[])
},
Qt::QueuedConnection);
engine.addImportPath("qrc:/qml/imports/"); // Adding imports paths
engine.addImportPath("qrc:/imports/"); // Adding imports paths
engine.addImportPath("qrc:/qml/cppImports/");
engine.load(url);
......
<RCC>
<qresource prefix="/">
<file>qml/main.qml</file>
<file>qml/imports/qdsproject/Constants.qml</file>
<file>qml/imports/qdsproject/DirectoryFontLoader.qml</file>
<file>qml/imports/qdsproject/EventListModel.qml</file>
<file>qml/imports/qdsproject/EventListSimulator.qml</file>
<file>qml/imports/qdsproject/qmldir</file>
<file>qml/WashingMachineHome/ArcDial.ui.qml</file>
<file>qml/WashingMachineHome/MainFile.ui.qml</file>
<file>qml/WashingMachineHome/SpinIcon.ui.qml</file>
<file>qml/WashingMachineHome/TimerElement.ui.qml</file>
<file>qml/WashingMachineHome/assets/backgroundElipse1.png</file>
<file>qml/WashingMachineHome/assets/mainBackground1.png</file>
<file>qml/WashingMachineHome/assets/outlineElipse1.png</file>
</qresource>
</RCC>
<RCC>
<qresource prefix="/">
<file>main.qml</file>
<file>imports/qdsproject/Constants.qml</file>
<file>imports/qdsproject/DirectoryFontLoader.qml</file>
<file>imports/qdsproject/EventListModel.qml</file>
<file>imports/qdsproject/EventListSimulator.qml</file>
<file>imports/qdsproject/qmldir</file>
<file>WashingMachineHome/ArcDial.ui.qml</file>
<file>WashingMachineHome/MainFile.ui.qml</file>
<file>WashingMachineHome/SpinIcon.ui.qml</file>
<file>WashingMachineHome/TimerElement.ui.qml</file>
<file>WashingMachineHome/assets/backgroundElipse1.png</file>
<file>WashingMachineHome/assets/mainBackground1.png</file>
<file>WashingMachineHome/assets/outlineElipse1.png</file>
</qresource>
</RCC>
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