Prepare CMakeLists.txt for building a Qt5 GUI