Gunnar Sletta wrote:
 > If you replace your moving car items with QGraphicsPixmapItem's, does
 > that solve the performance problem?

I came up with a similar idea. Looking at the C++ code I realized that 
QGraphicsItemGroup already provides bounding box caching. Simply 
wrapping my custom graphics items in item groups should do the trick. 
Unfortunately, when trying to add a custom graphics item to a item group 
I end up with the following error:

QtJambiTypeManager::convertInternalToExternal: Cannot convert to type 
'com/trolltech/qt/gui/QGraphicsItem$ConcreteWrapper' from 'QGraphicsItem*'

Any idea where this might come from?

Regards,
Matthias
_______________________________________________
Qt-jambi-interest mailing list
Qt-jambi-interest@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to