Improve cmake configuration to use fervor lib in qt5