SDL port for QNX, providing both screen and Wayland video backends.
This was originally contributed by Elad Lahav for QNX 7.0.
The port was later improved and adapted for QNX 8.0 by:
Further changes to enable Wayland with the EGL backend were made by Felix Xing and Aaron Bassett.
Building SDL3 for QNX requires Wayland to be built and installed. The commands to build it are,
# Note, if you're cross-compiling, you will need to source qnxsdp-env.sh and
# provide the path to a cmake toolchain file with -DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN_DIR/qnx.nto.toolchain.cmake
cmake -B build -DCMAKE_BUILD_TYPE=Release -DSDL_X11=0
cmake --build build
cmake --install buildQNX provides a self-hosted environment, available with the free license. This is the easiest way to get your hands on SDL.
You can find the cross-compiled build tools at https://github.com/qnx-ports/build-files