Qt5 was ported to QNX 6.5.0 SP1 and makes use of the new QNX UI Core graphics framework (new composition manager, Screen, etc). If you are using the QNX GF graphics framework that is shipped with QNX 6.4x, you should use Qt 4.8x.
Hope this helps.
Grant