CMakeLists.txt maintenaince

qt5_use_modules() is obsolete. Updating also the cmake_minimum_required()
to match it.