[ #26649 ] Add Qt5 support for library CMakeLists (it doesn't compile on Qt5 yet)