Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.12
-
627226520a2bbb977ce32a21bdffd2004cb28796 (qt/qtdeclarative/5.12.0)
Description
Seems that now the value of x is undefined with latest from dev branch:
.pragma library
const x = 123;
import QtQml 2.0 import "js.js" as JS QtObject { Component.onCompleted: console.log(JS.x); }
Attachments
Issue Links
- relates to
-
QTBUG-74068 [REG 5.11->5.12.0]: Using Qt.include() does not work correctly as it will give a reference error when trying to access a variable defined in it
- Closed