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 -- ________________________________________________________________________ _____________________ Dr. Thomas Gern in-innovative navigation GmbH Leibnizstr. 11 D-70806 Kornwestheim tel.: +49 (0)7154 807153 | fax: +49 (0)7154 807154 email: [email protected] http://www.innovative-navigation.de Geschäftsführer: Dr. Thomas Gern, Dr. Martin Sandler, Dr. Reinhard Zimmermann Kreissparkasse Esslingen Kto.-Nr.: 85 98 655 | BLZ 611 500 20 | SWIFT: ESSL DE 66 | IBAN: DE51 6115 0020 0008 5986 55 Handelsregister: Stuttgart HRB 205770 | Steuer-Nr.71330/00796 | Umsatzsteuer-ID: DE201463746
dash_line_memory.tgz
Description: Binary data
_______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
