Change to CMake and remove qt