https://bugreports.qt.io/browse/QTBUG-84392 With Qt 6.2, you can use qt-cmake to build examples, which does not have this issue.