Backported fix for QTBUG-6322

No match.