[Development] QML 3 and JavaScript

Ulf Hermann ulf.hermann at qt.io
Tue Nov 12 09:23:59 CET 2019

> If not Javascript, then what? Python? This is the first I've heard of 
> this. Just wondering what it is if not javascript?

It will be a subset of JavaScript, with type annotations in TypeScript 
style, that does not necessitate a garbage collector and minimizes 
dynamic memory allocation. I don't know exactly, yet, which language 
constructs will be supported and which ones we will have to drop.

I will likely take some inspiration from Qt for MCU, which has the same 

No, it will not be python. Imagine python's white space semantics inline 
in a QML document and then tell me again you want that ;). Also, we want 
to be compatible with as much QML2 code as possible. Therefore, it at 
least has to look like JavaScript.

best regards,

More information about the Development mailing list