Add proper version checking of Qt to CMake
Since we already are doing this in qmake