-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.8.3
-
None
When I try to use QQuickTextDocument as a property type of a custom QML Item in PySide6 (see attached), it works on macOS, but on Linux (and possibly Windows) I get this warning:
RuntimeWarning: QMetaObjectBuilder: Failed to add property "document" to "SyntaxHighlight": Invalid property type "QQuickTextDocument*".
The fact that it works fine on Mac, and that I copied this from supposedly working examples of how to do this in C++ suggests this is a PySide bug. But if there's a "righter" way to do it please let me know!
Only found this reference on the internet with no solution: