Skip to content

Commit 4da68f5

Browse files
BenFordTytheringtonahayzen-kdab
authored andcommitted
Fix error in book
1 parent e7652a1 commit 4da68f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/src/bridge/extern_rustqt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ TODO: we need to add https://doc.qt.io/qt-6/qqmlengine.html#QML_ANONYMOUS
6363
TODO: we need to add https://doc.qt.io/qt-6/qqmlengine.html#QML_INTERFACE
6464
-->
6565

66-
- [`qml_name`](https://doc.qt.io/qt-6/qqmlengine.html#QML_NAMED_ELEMENT): Use a different type name for QML.
66+
- [`qml_element`](https://doc.qt.io/qt-6/qqmlengine.html#QML_NAMED_ELEMENT): Declare type as a qml element. An alternative type name for QML can be used like `qml_element = "MyName"`
6767
- [`qml_uncreatable`](https://doc.qt.io/qt-6/qqmlengine.html#QML_UNCREATABLE): Mark the type as uncreatable from QML. It may still be returned by C++/Rust code.
6868
- [`qml_singleton`](https://doc.qt.io/qt-6/qqmlengine.html#QML_SINGLETON): An instance of the `QObject` will be instantiated as a singleton in QML.
6969

0 commit comments

Comments
 (0)