QObject* root = engine.rootObjects()[0];. assert(root != nullptr);. // The QML Item to which we want to inject our QML-Item-loaded-from-file.
確定! 回上一頁