Hi,
what exactly went wrong ?
I used C++ QCamera(and all related) from QML and everything is working properly, but I didn't try to find camera object from qml root.
Instead I create a property in C++ class, expose it to qml, and from qml assign the camera object to that C++ property.