qt: restore compatibility for Qt 5.5