It is indeed a bug, see: https://bugreports.qt.io/browse/QTBUG-106707