Fixed in Qt by https://codereview.qt-project.org/c/qt/qtbase/+/306771 This reverts commit 3a91003eea.
3a91003eea