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](https://private-user-images.githubusercontent.com/22283943/348416628-ac0fa987-d0db-4028-88c7-8b802207f8d4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIwMjkyMjIsIm5iZiI6MTcyMjAyODkyMiwicGF0aCI6Ii8yMjI4Mzk0My8zNDg0MTY2MjgtYWMwZmE5ODctZDBkYi00MDI4LTg4YzctOGI4MDIyMDdmOGQ0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDIxMjIwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI3MTNiODJiNWM0ZjI1YTE1ZjU4NDFhM2ZlOTUxYzYzNDdiZTNlMzc0NDVlNGJkNjc5MmE4ZjY0NGQ0NmFmNmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.SmjwPo2vceqSmzY6y0lGWVKMJCy7FrpNBVFS5RcNmwI)
- Install the Qt6 Widgets development libraries.
- git clone with
--recurse-submodules
flag. This will ensure SDL3 is available. cmake -S . -B build
cmake --build build --target SDLxQt