Fixed Qt5 support