access of Qt QML components is only possible for the public ones like QDeclarativeItem, but not for QDeclarativeImage for example as they are privately declared in Qt.
In C++, you can only create QML components from qml files, e.g. with
QDeclarativeEngine engine; QDeclarativeComponent component(&engine, QUrl::fromLocalFile("MyItem.qml")); QObject *object = component.create(); ... delete object;
However, I cannot recommend this approach, because you loose the advantages of QML, like being faster to develop or less source code needed. Could you please explain, why the QML approach is not sufficient for your project, i.e. which functionality could not be done with QML?