This is the message that terminated your build:
The OpenGL ES 2.0 functionality test failed!
To me that seems strongly related to:
Screen and OpenGL

As noted above, building Qt 5 requires the QNX 6.5.0 SP1 and the new UI Core graphics framework headers and libraries. Both are available through QNX. For OpenGL support (GL widgets and QML2), OpenGL ES2 or higher must be available.