CMakeLists.txt maintenance

* Updates cmake_minimum_required()
* Removes empty unused variables
* Removes calls to qt5_.... with empty vars
* Removes Qt4 include dirs
* Drops the QTX_LIBRARIES variable. Uses the Qt5:: syntax.
* Cleans commented code and empty lines