Patch: QNX support

Hello,

I’m not sure if this is the right place to submit patches. The attached diff file implements a video back-end for QNX systems using the Screen compositing window manager. It also fixes a small, but critical, bug in the QSA audio plugin.
The patch was tested on 7.0 x86_64 machines, though it should work on other architectures and, probably, on QNX 6.6 as well. Tested games include uMario (https://github.com/jakowskidev/uMario_Jakowski) and Pacman (https://github.com/ebuc99/pacman).

The code builds on QNX machines using the standard steps:

# ./autogen.sh
# ./configure
# make

Or on Linux machines:

# ./autogen.sh
# ./configure --build=x86_64-pc-linux-gnu --host x86_64-pc-nto-qnx7.0.0 --prefix=$PWD/dist --disable-pulseaudio
# make

–Elad

1 Like

Hmm…, it seems that, as a new user, I can’t upload the patch. Suggestions?

–Elad

Contributions and bug reports are best submitted to https://bugzilla.libsdl.org. That’s where the developers will check for that stuff.

1 Like

Thanks. I posted the patch under https://bugzilla.libsdl.org/show_bug.cgi?id=3686

1 Like

Thanks for posting this. I have to look it over more closely, but at first glance it looks like a good piece of work we should try to get in for SDL 2.0.6.

I really want to get QNX builds on the buildbot too, if I can find a way to get the toolchain up and running.

Hi Ryan,

I am trying to get you a non-commercial licence, and/or a VMWare image with the self-hosted toolchain.

–Elad

1 Like