Skip to content

Commit fb83a89

Browse files
OlivierLDffLeonMatthesKDAB
authored andcommitted
book: CXX instead of CXX-Qt for the piece that translate types to cpp
1 parent 20dd5ad commit fb83a89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/src/getting-started/2-our-first-cxx-qt-module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ In our case that means:
107107
- `#[qproperty(i32, number)]``Q_PROPERTY(::std::int32_t number ...)`
108108
- `#[qproperty(QString, string)``Q_PROPERTY(QString string ...)`
109109

110-
For `i32`, CXX-Qt already knows how to translate it.
110+
For `i32`, CXX already knows how to translate it.
111111
A `QString` however is unknown to CXX.
112112
Luckily, the [`cxx_qt_lib`](https://docs.rs/cxx-qt-lib/latest/cxx_qt_lib/) crate already wraps many Qt types for us.
113113
We can just include them in the bridge like any other CXX type:

0 commit comments

Comments
 (0)