Obsolete Members for <QWaylandQuickExtension>
<QWaylandQuickExtension> 클래스의 다음 멤버들은 더 이상 사용되지 않습니다. 이 멤버들은 기존 소스 코드가 계속 작동하도록 하기 위해 제공됩니다. 새로운 코드에서는 이 멤버들을 사용하지 말 것을 강력히 권장합니다.
매크로
(deprecated in 6.8) | Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_NAMED_CLASS(className, QmlType) |
매크로 문서
[deprecated in 6.8] Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_NAMED_CLASS(className, QmlType)
이 매크로는 6.8 버전부터 더 이상 권장되지 않습니다. 새로운 코드에서는 이 매크로를 사용하지 않는 것이 좋습니다.
대신 ` Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_NAMED_ELEMENT `를 사용하십시오.
이 매크로는 Wayland 확장을 기반으로 한 ` Qt Quick ` 클래스를 정의하는 데 사용할 수 있습니다. 이 매크로는 ` className `을 상속받고, 이름 끝에 "QuickExtension"을 붙이는 새로운 클래스를 정의합니다.
이 매크로는 Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_CLASS 과 동일하게 작동하지만, QML_ADDED_IN_VERSION 을 1.0으로 설정하여 현재 QML 모듈에 새로운 유형을 QmlType 으로 자동 등록합니다.
© 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.