Hello, Why this can happen?
I'm getting empty root objects, errors in Application Output tab in Qt Creator and empty qmlWarnings variable.
m_engine.reset(newQQmlApplicationEngine); QList<QQmlError>qmlWarnings; qtconnect(m_engine.data(),&QQmlApplicationEngine::warnings, [&qmlWarnings](constQList<QQmlError>&warnings) { qmlWarnings.append(warnings); }); m_engine->load(qmlUrl); if(m_engine->rootObjects().isEmpty()) { m_initFailed.first=true; m_errorDesc=QObject::tr("QMLloadfailure."); }
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest