title: How to set mouse cursor position in QML
body: <p>I am using a <code>QQuickFrameBufferObject</code> to render 3D objects in a QML app. From the app, I would like for the mouse cursor to <strong>warp</strong> on the <code>QQuickFrameBufferObject</code> surface when I am rotating or translating the objects displayed.</p>
  
  <p>Rotation and translation works great, but I can't find a way to control the mouse position.</p>
  
  <p><em>Edited for better explanation on what I meant by warping</em> : What I mean by <em>warping</em> the mouse cursor is that when you are rotating a 3D object on the screen, you click &amp; drag the mouse. But when you reach the end of the screen on the right, you can no longer drag to the right and you have to release the mouse button, move your mouse to the left, click &amp; drag again to continue your rotation.</p>
  
  <p>What I want to do is <em>teleport</em> (or <em>warp</em>) the mouse cursor to the left hand side of my rendering surface when I am dragging and I reach the right hand side of the rendering surface, allowing for infinite movement when I rotate</p>
  
  <p>Is there a way for me to achieve this effect (could be simply by setting the position from a JS script or from the C++ backend when the mouse reaches the border or by having a way to <em>grab</em> the mouse and retrieve the relative positions as can be done in some window libraries).</p>