Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.3.0
-
31b53f50674ace214c8cd93bd6470ac82b96d945
Description
In Qt5, it was possible to use Qt.Key_Up in a .js file directly.
In Qt6.3 (maybe before), the behaviour has changed. If there is either a ".pragma library" or an ".import ", Qt.Key_Up will return undefined.
It can be workarounded by importing QtQuick or QtQml and using QtQuick.Qt.Key_Up.
Attachments
For Gerrit Dashboard: QTBUG-103926 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
414419,3 | Doc: Clarify side effects of JS .import statement | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |