Make the project compile with Qt5 too.

Signed-off-by: frajasalo <github@frajasalo.de>