Restore Qt 4.6.2 compatibility.

qRestAPI states a minimum required Qt version of 4.6.2 but does not compile with that version. This patch restores compatibility with Qt 4.6.2.