Qt5 build fix