[Interest] QtObject vs plain old JavaScript object

Walter Purvis wpurvis at gmail.com
Thu Jul 6 21:05:28 CEST 2017


I have a fairly technical question: If a QML-based application needs a
number of non-visual object types, are there reasons to prefer implementing
those types as QtObject in individual QML files (e.g., SomeObject.QML) vs
plain old JavaScript objects in a js file?

For example, does one option offer significantly better performance?

Is one option, in your experience, easier / more convenient to use?

Other considerations?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170706/bd27a3c5/attachment.html>


More information about the Interest mailing list