Sample OpenGL source code for QNX?

Does anyone have any sample code that works on QNX? I have a bunch of GLUT code that I can’t use.

Where can I find the source code to the qnxgl examples in /usr/photon/demos/glph?

What is the recommended way of working with OpenGL under QNX?

I’m using 6.3.x with the 3D TDK.