The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Getting the Window ID On OS X and Linux
BlueSpud


Joined: 07 Dec 2014
Posts: 1
Hey,
So I want to embed my SDL window into a QT widget, and I've got everything working except I need the window ID for the window SDL creates. I know this is really easy to do on Windows, but I need the code to work on Mac and Linux (Especially since I'm building this on a mac). Is there any way that I can do this?

Cheers.