implement support for Qt5

enable with cmake -DUSE_QT5=ON
This does currently only work for Linux
I've not tested on other systems, but most likely some more cmake stuff has to be changed
I'm no cmake expert, so there may be some parts that can be made easier...