QNX: Fix compilation with Qt 4.

Change-Id: I8607dd339f5c6e3580f2e17c8ca3b7bcbbb11a8e
Reviewed-by: Eike Ziller <eike.ziller@digia.com>