[Interest] QGraphicsRotation in QGraphicsViewScene

Till Oliver Knoll till.oliver.knoll at gmail.com
Wed Sep 12 12:24:34 CEST 2012





Am 12.09.2012 um 11:19 schrieb "Duan,Lin" <linduan at isoftstone.com>:

> ...
>  
> How can I do , so it can performed as expected (first graph)?

I think you can't: from what I understand you are trying to perform a rotation in 3D space, whereas QGraphicsScene/View only manage 2D (or "pseudo 3D" aka 2.5D, if you take the "depth" z-coordinate into account) objects.

Use a "proper" 3D scene (QGLWidget) or try the new "Qt Quick3D" module!

Cheers,
  Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120912/9a2890b0/attachment.html>


More information about the Interest mailing list