Integrate SDL2 in Qt

Hi,

Since few days, I search the solution to integrate SDL2 Renderer in a Qt Application. I work on a render engine for a karaoke file format. I use SDL2 for the render, the result is good. Now I want to integrate my render in a Qt Application (to use buttons, menus, etc…).

I find much documents for the integration of SDL1.2 but no functional solution for SDL2.

Is there a working solution to render an SDL_Renderer in a QWidget?

Thank you in advance for your help / suggestions,
Pierre

What approach(es) were used for SDL 1.2? Did it involve getting handles to the host operating system’s window(s), via SDL_GetWMInfo()? If so, there is an analogous function in SDL2, SDL_GetWindowWMInfo().