THRIFT-2098 Add support for Qt5+