Obsolete Members for <QWaylandQuickExtension>

Os seguintes membros da classe ` <QWaylandQuickExtension> ` estão obsoletos. Eles são fornecidos para manter o código-fonte antigo em funcionamento. Recomendamos enfaticamente que não sejam utilizados em código novo.

Macros

(deprecated in 6.8) Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_NAMED_CLASS(className, QmlType)

Documentação de macros

[deprecated in 6.8] Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_NAMED_CLASS(className, QmlType)

Essa macro está obsoleta desde a versão 6.8. Recomendamos enfaticamente que não seja usada em código novo.

Use ` Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_NAMED_ELEMENT ` em vez dela.

Essa macro pode ser usada para definir uma classe ` Qt Quick ` baseada em uma extensão do Wayland. Ela define uma nova classe que herda de ` className ` e acrescenta o sufixo “QuickExtension” ao nome.

A macro funciona da mesma forma que ` Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_CLASS`, mas também registrará automaticamente o novo tipo como ` QmlType ` no módulo QML atual, com ` QML_ADDED_IN_VERSION ` definido como 1.0.

© 2026 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.