Unsolved Check the QML component existence. How?
-
Hello all!
I need to check QML component existence. Something like
Component.onCompleted: { if (QmlCustomComponent) { } else { } }
I am downloading *.qrc file from server and need to check if component is into it.
-
Qt.createComponent from javascript, Loader from QML, and QQmlComponent from C++ all appear to be viable options for the situation described. Loader doesn't appear to allow loading the component without instantiating an instance.