-
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/
For Gerrit Dashboard: QTBUG-125384 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
567378,3 | Change QJSValue to a specific type | dev | qt/qtgraphs | Status: MERGED | +2 | 0 |
568002,2 | Change QJSValue to a specific type | 6.8 | qt/qtgraphs | Status: MERGED | +2 | 0 |