Build compatible with Qt5 module