Fix a few QML warnings
At startup there are a few warnings in the console output about stuff being not found. This is because those things are only addded after the QML file was loaded. To get rid of the warning we need to split the
QQmlApplicationEngine engine(QUrl(QStringLiteral("qrc:/qml/main.qml")));
line from src/main.cpp into two parts.
- Creation of the engine without any arguments
- engine.load(QUrl(...)) after all the context properties have been set
This should get rid of all the similar warnings except one, which has a different cause
Edited by Nicolas Fella