Obsolete Members for <QWaylandQuickExtension>

I seguenti membri della classe ` <QWaylandQuickExtension> ` sono deprecati. Sono forniti per garantire il funzionamento del codice sorgente esistente. Si sconsiglia vivamente di utilizzarli nel nuovo codice.

Macro

(deprecated in 6.8) Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_NAMED_CLASS(className, QmlType)

Documentazione sulle macro

[deprecated in 6.8] Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_NAMED_CLASS(className, QmlType)

Questa macro è deprecata a partire dalla versione 6.8. Si sconsiglia vivamente di utilizzarla nel codice nuovo.

Utilizzare invece Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_NAMED_ELEMENT.

Questa macro può essere utilizzata per definire una classe ` Qt Quick ` basata su un'estensione Wayland. Definisce una nuova classe che eredita da ` className ` e aggiunge il suffisso "QuickExtension" al nome.

La macro funziona allo stesso modo di ` Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_CLASS`, ma registra automaticamente il nuovo tipo come ` QmlType ` nel modulo QML corrente con ` QML_ADDED_IN_VERSION ` impostato a 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.