[ASK] QGraphicsScene->addItem() crash
Hi all,
I create graphic bar chart using GraphicView framework. I derive QGraphicsItem to create the bar chart, and this bar chart is added to the scene using QGraphicsScene::addItem().
I get error (crash), but I'm not sure whether it's caused when the item is added to the scene or in the painting process. This happens intermittently.
The error says:
Code:
ASSERT: "width > 0.0" in file painting\qrasterizer.cpp, line 710
Please advise.
Re: [ASK] QGraphicsScene->addItem() crash
Hello,
I'm running Qt 5.3.2 on Windows 8 and from drawing some vertical lines using QGraphicsLineItem I am getting a similar crash in debug runs occasionally (about once every five runs):
Code:
ASSERT: "width > 0.0" in file painting\qrasterizer.cpp, line 773
Are there any recommendations on how to handle this?
Thank you