[qml+pyqt6] Can't get native control appearance

  1. Non-kirigami solution to NativeTextRendering

https://medium.com/analytics-vidhya/how-to-build-your-first-desktop-application-in-python-7568c7d74311#:~:text=the%20qquickwindow.setscenegraphbackend(‘software’)%20should%20be%20included%20in%20your%20code%20as%20a%20fallback%20option%20for%20uses%20with%20old%20hardware%20specs%2C%20other%20than%20that%20they%20would%20see%20an%20error%20information%20as%20seen%20below%3A

    from PyQt6.QtQuick import QQuickWindow
    QQuickWindow.setTextRenderType(QQuickWindow.TextRenderType.NativeTextRendering)

…remediates that problem, although I don’t understand how, since I don’t quite see how creating a new QQuickWindow could affect my QApplication.

Comparison

    # from PyQt6.QtQuick import QQuickWindow
    # QQuickWindow.setTextRenderType(QQuickWindow.TextRenderType.NativeTextRendering)

    from PyQt6.QtQuick import QQuickWindow
    QQuickWindow.setTextRenderType(QQuickWindow.TextRenderType.NativeTextRendering)