Make the project compile with Qt5 too.

Signed-off-by: frajasalo <github@frajasalo.de>
Merge pull request #4 from frajasalo/master_fixing

Make the project compile with Qt5 too. Confirming merge. I was looking for this :)