Thomas Gern wrote:
> Hi,
> 
> the following has been tested on Linux...
> 
> 
> I found out that when drawing dashed QGraphicsPathItem in my OpenGL 
> driven QGraphicsScene/View, the memory consumption is tremendously 
> increasing when zooming into the scene.
> This behaviour is not there, if
> - the line is solid
> - the QGraphicsView is not using a QGLWidget
> 
> I attached an small example that shows the problem.
> 
> It contains a single PathItem, which is drawn solid at startup - you can 
> switch to dashed by pressing the button "NonSolid" at the bottom. 
> Already at this moment you will encounter an increase in memory. If you 
> press the "Zoom +" button, the problem becomes the memory consumption 
> increases more and more, until the program crashes with a segmentation 
> fault (probably due to lack of memory...)
> This behavior is the same with Qt4.5.1 and 4.5.3 - the release candidate 
> of Qt4.6.0 crashes already with a segmentation fault when switching to 
> the dashed line...
> 
>  
> 
> Best regards,
> 
>  
> 
> Thomas

Please register this as a bug here: http://bugreports.qt.nokia.com

Thanks,
--
Trond K.
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to