Does using QML affect program performance?
-
wrote on 12 Oct 2020, 19:38 last edited by
Compared to using c++.
Does using QML affect program performance? -
wrote on 12 Oct 2020, 21:42 last edited by
No, because I do the heavy lifting in C++.
-
Compared to using c++.
Does using QML affect program performance?wrote on 13 Oct 2020, 06:59 last edited by@SuperJarvisCN said in Does using QML affect program performance?:
Does using QML affect program performance?
It depends how you plan to use QML!
It is much more easier to create attractive user interfaces with QML than in plain C++.
But QML is a Javascript based language, so there is an overhead because of the Javascript-Engine.If you only use QML only for the HMI part and C++ for the "business-logic", this could be a powerful combination with acceptable performances.
-
Compared to using c++.
Does using QML affect program performance?@SuperJarvisCN Just a note: there is a QML compiler. It was commercial in the past, but as far as I know it is available now with open source license also (not 100% sure though).
-
@SuperJarvisCN Just a note: there is a QML compiler. It was commercial in the past, but as far as I know it is available now with open source license also (not 100% sure though).
wrote on 13 Oct 2020, 07:57 last edited by@jsulm said in Does using QML affect program performance?:
It was commercial in the past, but as far as I know it is available now with open source license also (not 100% sure though).
Yes, since Qt 5.11 Qt Quick Compiler is also available for Open Source version, according to wiki
But QML still based on Javascript and even if it is quicker after compilation, there are still no variable check, etc.
1/5