Such QT5

Now works with QT5.
This patch was needed to get this to work on Arch linux.