Clean up CMakeLists.txt and drop Qt 4 support
Drop Qt4 support in code