[Interest] QtObject vs plain old JavaScript object

Vlad Stelmahovsky vladstelmahovsky at gmail.com
Fri Jul 7 11:35:26 CEST 2017


the less JS code, then better for performance

On Thu, Jul 6, 2017 at 9:05 PM, Walter Purvis <wpurvis at gmail.com> wrote:

> 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?
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>


-- 
Best regards,
Vlad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170707/4dafed55/attachment.html>


More information about the Interest mailing list