Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.0
-
None
-
-
2050db81c (dev), fdf9c258a (6.6), 028c319d4 (6.5)
Description
Hi,
I am using the snippet here
https://doc.qt.io/qt-6/qtqml-cppintegration-contextproperties.html#setting-an-object-as-a-context-property
I get an unqualified access:
Warning: Main.qml:4:14: Unqualified access
Text { text: applicationData.getCurrentDateTime() }
^^^^^^^^^^^^^^^
I would like to understand why. Is is a bug? And if not, why it is expected?
Attachments
Issue Links
- relates to
-
QTBUG-113788 Documentation for QML-C++ Integration
-
- In Review
-
For Gerrit Dashboard: QTBUG-113785 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
511047,8 | Sprinkle docs about context properties with warnings and notes | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
511521,2 | Sprinkle docs about context properties with warnings and notes | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
511596,2 | Sprinkle docs about context properties with warnings and notes | 6.5 | qt/qtdeclarative | Status: MERGED | +2 | 0 |