Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.15.1
-
3fd49c82cf (qt/qtdeclarative/dev) 3fd49c82cf (qt/tqtc-qtdeclarative/dev)
Description
When implementing an invokable toString() method in a QObject-derived class, calling the toString() method from within QML always results in MyClass(0x19372e0). It is not possible to override this particular method.
This was also mentioned by laknoll on the mailing list: https://lists.qt-project.org/pipermail/development/2015-November/023713.html
It would be great if that could be fixed.
Attachments
Issue Links
- is required for
-
QBS-913 QtScript dependency needs to be removed
- Closed
For Gerrit Dashboard: QTBUG-87697 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
402640,5 | Respect invokable toString() methods | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |