Modified with CMakeLists to compile with Cmake Qmake compilation should
still work