Wille
6th November 2010, 20:00
Hello!
I want to create a gui for my upcoming direct3d game using qt. To accomplish this all the qt's drawings (widgets, forms, etc.) must be translated into direct3d function calls.
If I have understood it correctly I have to implement my own QPaintEngine. Is this right? What's the purpose of QPainter and QPainterDevice? Do I have to implement those also?
How do I proceed after implementing the paintengine? How to make the widgets to use the new engine?
I want to create a gui for my upcoming direct3d game using qt. To accomplish this all the qt's drawings (widgets, forms, etc.) must be translated into direct3d function calls.
If I have understood it correctly I have to implement my own QPaintEngine. Is this right? What's the purpose of QPainter and QPainterDevice? Do I have to implement those also?
How do I proceed after implementing the paintengine? How to make the widgets to use the new engine?