3 ms·
What's the performance cost of using QTQuick? Does it require bundling a JavaScript interpreter with the application?
by pjfin123 6y ago
What's the performance cost of using QTQuick? Does it require bundling a JavaScript interpreter with the application?
- LeSaucy 6y agoYou link against QtQuick to get the qml/js environment to run your qml apps. There is some performance overhead vs straight c++ code, but its negligible even on embedded systems.
- jdu9 6y agoStarting with Qt 6.0, it should be possible to make QJSEngine/v4 (their custom JIT JavaScript engine) optional in your application: >Make JavaScript an optional feature of QML. >Having a full JavaScript engine when using QML can complicate things and is an overhead especially when targeting low-end hardware such as microcontrollers. It is however extremely useful in many use cases. Source: https://www.qt.io/blog/2019/08/07/technical-vision-qt-6 https://www.qt.io/blog/2019/08/07/technical-vision-qt-6
- joezydeco 6y agois an overhead especially when targeting low-end hardware such as microcontrollers What a sweet way of saying "yeah, it didn't work at all on microcontrollers"
- black_puppydog 6y agowhat a diplomatic way of saying "yeah we would rather you didn't bloat your app for no good reason." ;)