diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2016-06-27 11:55:33 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2016-06-27 15:40:17 +0000 |
commit | 97212616d5a7fc68d9ee97015751326ec2908287 (patch) | |
tree | ada8f172265b097406489672cd29cda1029f4642 /src/quick/doc/src/concepts | |
parent | c9d4c8ed97694defea78184a80874764ebedfda1 (diff) |
Lazy create QmlEngine on accessing rootContext
A common usecase appears to be to set variables in the rootContext
before loading a url in a QQuickWidget. We there need to ensure there
is a QmlEngine to set variables on when this is attempted.
Change-Id: I07aff2104313eeb3fab902ea3c6043c3c82c50f7
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/quick/doc/src/concepts')
0 files changed, 0 insertions, 0 deletions