Hi guys,

I have to draw a map (vector format) and be able to resize it/scroll/detect colision between some objects. There is a background that do not changes and a lot of objects(items) a huge number of them(maybe about a milion of them) on the map.
I have chosen the QGraphicsView/Scene but I am not sure it I have chosen the best possible option.
While zooming int/out/ and using methods like: QGraphicsView::fitInView(QRectF), QGraphicsView::scale(..) there are delays or even the app halts.
Also when I move the cursor on the view/scene the CPU usage increases fast.

I hope that the painting using the view/scene can be optimized, but yet do not know how to achieve the best result.


THank you for any ideas,

Maverick