The Future of QML

  Рет қаралды 5,887

Qt Group

Qt Group

Күн бұрын

TALK: The Future of QML
SPEAKER: Ulf Hermann
COMPANY: The Qt Company
TRACK: Qt & Technical Deep Dive
Talk recorded at the Qt World Summit 2019 event in Berlin.
#QtWS19 November 2019 - BCC
TALK DESCRIPTION:
On the way to Qt 6 the QML language and engine face major new challenges and developments. In order to scale down to smaller and smaller devices, the QML language needs to be decoupled from JavaScript and it needs to be compiled ahead of time, with as little run-time loading as possible. In order to address this, a new major version of the language is being drafted. As a result of the changes much of what is currently part of the core QML library - the JavaScript engine including its garbage collector, dynamic compilation of QML, the QML metatype system - will be moved into different modules and/or becomes optional. For simple binding expressions you don’t need a full JavaScript engine, and you shouldn’t have to pay for one. The talk will give an overview of the new architecture as well as the changes to the language. In particular, it will show how bindings can become more lightweight and as public API in Qt Core. It will also show what changes you will need to apply to your QML files in order to actually avoid the usage of JavaScript and to compile them ahead of time.
Qt WEBSITE:
For more info Qt, visit our site
qt.io
RESOURCES:
For more videos from Qt visit our resource centre;
resources.qt.io
FOLLOW US ON SOCIAL:
FB: / qt
LI: / 4788. .
TW: / qtproject
THE Qt COMPANY
Design - Develop - Deploy

Пікірлер: 5
@Alex-kr7zr
@Alex-kr7zr 3 жыл бұрын
Is there any update on this talk? How much has really been implemented and what is deprecated? I can't really find good documentation.
@TheBootroo
@TheBootroo 4 жыл бұрын
I'm okay with 99% of this, but for God sake, why replacing grouped properties (thus, readonly object property) with writable object properties all the way ? it's not the same cost at all, and that's the only change I'm worried it may degrade perfs, while all the others will improve them... Please reconsider.
@TheBootroo
@TheBootroo 4 жыл бұрын
To declare a proper grouped property you must use "readonly property alias inner: id_of_inner_object" and your issue with "delayed" is fixed, and in addition you cannot replace it anymore with another instance. And your bug with the additional property declared in inner object and not accessible outside is not a bug, you are declaring Rectangle typed property but you put an implicit Rectangle subclass and expect ducktyping to do the work for you ? just explicitely declare your Rectangle subclass and use it as property type.
@davinelLinvega
@davinelLinvega 4 жыл бұрын
About encapsulation, have you thought about adding a strict mode to QML where no property outside of a .qml file could be accessed? This would enforce proper APIs on the .qmls root object and avoid many of the problems adressed here. So I couldnt just access any id, property or parent in my lookup hierarchy
@hatema
@hatema 4 жыл бұрын
I've been using QML a lot and it's really promising! Can't wait for QML 3.
QObject - All you need to know
27:19
Qt Group
Рет қаралды 5 М.
Как подписать? 😂 #shorts
00:10
Денис Кукояка
Рет қаралды 8 МЛН
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 35 МЛН
Do's and Don’ts of QML {on-demand webinar}
37:27
Qt Group
Рет қаралды 11 М.
QtWS15- Effective QML, Thomas McGuire, KDAB
55:26
Qt Group
Рет қаралды 14 М.
Best Practices for using QML and QtQuick
25:19
Qt Group
Рет қаралды 6 М.
MIT Introduction to Deep Learning | 6.S191
1:09:58
Alexander Amini
Рет қаралды 598 М.
TechTalks 2024 - Argo CD - der Rockstar für Kubernetes?
1:13:51
cosee TechTalks
Рет қаралды 114
Как подписать? 😂 #shorts
00:10
Денис Кукояка
Рет қаралды 8 МЛН