workaround for QTBUG-21808