⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)
Pinch and Zoom Camera object in Qml
beemaneni last edited by
I am totally new to qml .I have got a problem which i am trying for past one week.
I need to pinch and zoom an camera in qml .I was not able to figure out the best way.i have turned on camera using Camera object and i need to place an circle on the centre part of screen and start pinch and zoom so that during onPinchUpdated camera needs to zoom in and out based on the circle enlargement.
plz can anyone help me as soon as possible.
Thanks in advance
Have you tried using "pincharea":http://qt-project.org/doc/qt-5/qml-qtquick-pincharea.html and passing your camera obj to "pinch.target":http://qt-project.org/doc/qt-5/qml-qtquick-pincharea.html#pinch.target-prop property ?
To mention I have not used it personally.