#1821·openage

Create window with Qt instead of SDL

Author: TheJJCreated Sep 25, 2026Updated Sep 25, 2026
Labelsarea: renderernice new thing ☺area: uiarea: input

the current approach of an sdl window with a surface, and spawning qt inside that has caused much pain, especially for cross-plattform compatibility.

instead we should redesign that

  • qt opens the window
  • we have a nice opengl/vulkan surface in there
  • the renderer can still use that surface
  • all input handling etc can be done from qt and still use our input manager implementation where suitable

maybe this also allows more efficient input handling for qtquick elements - qt can directly handle them, and only events on unhandled surfaces (like our rendering surface) can then be passed to openage's input handling.