-
Task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
None
-
8284bf6b0 (dev), f259e9ae4 (6.8)
QJSValue is indeed a rather expensive way to pas data – also, it forces you to handle a type mismatch at runtime. Note that you can use Q_PRIVATE_PROPERTY if you want to avoid having setters taking private API types in public API.
https://codereview.qt-project.org/c/qt/qtgraphs/+/560943/comment/ae2a51e6_19cecacf/