Work around QTBUG-27678