/SDLxQt

Demo showing SDL and Qt in the same process

Primary LanguageC++

SDLxQt

This demo app shows how to use both Qt6 and SDL3 in the same process. It creates two separate windows, one owned by SDL and one owned by Qt, and sets up event listening in each.

image

Building

  1. Install the Qt6 Widgets development libraries.
  2. git clone with --recurse-submodules flag. This will ensure SDL3 is available.
  3. cmake -S . -B build
  4. cmake --build build --target SDLxQt