add support for qt5 in cmakelists.txt