How to convert QImage to SDL_Surface
Here is My question：
The buffer is m_data, and I use Qimage image = new QImage(m_data, w, h, 32,….) to create a QImage and use QPainter to display it in qt window. Can I use another function create a SDL_Surface from this m_data and use SDL function to display this m_data in the qt window?
Thanks for your help.
may i ask what’s the mean for using SDL Surface? do you need faster rendering? BTW, you can configure your Qt with SDL. also you may find examples at http://qt-apps.com
here’s a game which is mentioned SDL used for writing http://qt-apps.org/content/show.php/JAG?content=107652