CMakeLists: Implemented Qt5 build. Thanks Aleix Pol for patch.