[dev-qt/qtcore:5] Backport upstream patchset to fix bug #451456.

Package-Manager: portage-2.2.10