Hi everyone. I'm fairly new to QT and maybe this is a newbie question. I hope you can forgive me if that's the case.

I'm writing a application with a diagram editor and I need to display OGL textures in it. At the moment, I roughly follow this process: create a QImage from the texture data, convert this QImage to a QPixmap and use this pixmap in a QGraphicsPixmapItem. This is awfully expensive and inefficient. Any alternatives?

Should I make my custom QGraphicsItems class and write my own paint() routine using opengl calls?

Thank you.