Hey everyone! I’m currently reading about QML type annotations for JavaScript functions. If I were using C++, parts of my QML code could be compiled into C++, and type annotations would help the compiler generate more efficient code. But with Python, QML isn’t compiled - so there’s no performance or efficiency benefit from type annotations here, right?
16 August 2025
id 24766519Hey everyone! I’m currently reading about QML type annotations for JavaScript functions. If I were using C++, parts of my QML code could be compiled into C++, and type annotations would help the compiler generate more efficient code. But with Python, QML isn’t compiled - so there’s no performance or
You potentially could compile your QML into a module that could benefit, but that requires some hoops you probably don't want to jump through