Reported upstream as QTBUG-52988. It's not fixed in any 5.6.x release due to behavioural changes, so we can't do much about it.