Obsolete Members for Shape

The following members of QML type Shape are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Properties

Property Documentation

vendorExtensionsEnabled : bool

This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This property controls the usage of non-standard OpenGL extensions like GL_NV_path_rendering.

The default value is false.

As of Qt 5.12 Shape.NvprRenderer is disabled by default and a uniform behavior, based on triangulating the path and generating QSGGeometryNode instances, is used regardless of the graphics card and drivers. To enable using vendor-specific path rendering approaches set the value to true. Depending on the platform and content, this can lead to improved performance. Setting the value to true is safe in any case since rendering falls back to the default method when the vendor-specific approach, such as GL_NV_path_rendering, is not supported at run time.

Changing the default value (false) is not recommended. In particular, support for Shape.NvprRenderer will not be available in future Qt versions. Applications experiencing rendering problems with the property set to true are advised to set it to false.


© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.