Hi,

I want to draw a grid (square), and this grid has to remain square and grow up, while the view is expanding.

I used setSceneRect but it is weird. This example below shows what I'm looking for, the width of the windows is larger than the height, so my grid
grow up and remain square.

And I didn't know how to do this with Qt. Bellow I've done it with direct2D...
square2.PNG

need your help...

Thanks.