fkili
27th September 2012, 11:32
hello
I have edit a Qt application using QGraphicsView / QGraphicScene and it's consume a lot of cpu (60%).
my classes are a custom QGraphicsView / QGraphicScene and Reimplemented
QGraphicsView::drawforeground(QPainter* ptPainter, const QRectF& tRectToDraw) and
QGraphicsView::drawbackground(QPainter* ptPainter, const QRectF& tRectToDraw) used for drawing some statics items.
and i think thats methods causes the big consume of cpu.
my question is how can i optimise my application and reducing cpu consume.
thanx in advance.:)
I have edit a Qt application using QGraphicsView / QGraphicScene and it's consume a lot of cpu (60%).
my classes are a custom QGraphicsView / QGraphicScene and Reimplemented
QGraphicsView::drawforeground(QPainter* ptPainter, const QRectF& tRectToDraw) and
QGraphicsView::drawbackground(QPainter* ptPainter, const QRectF& tRectToDraw) used for drawing some statics items.
and i think thats methods causes the big consume of cpu.
my question is how can i optimise my application and reducing cpu consume.
thanx in advance.:)