CMake: support fir linking against qt5
Merge pull request #1 from ctrlaltca/cmake_qt5

CMake: support for linking against qt5