Details
-
Technical task
-
Resolution: Done
-
P2: Important
Description
Consider:
pragma Strict import QtQml import TestTypes as T QtObject { id: self property date foo: self.T.BirthdayParty.rsvp property date bar: T.BirthdayParty.rsvp objectName: T.CppSingleton.objectName }
All of this is legal, and lately QQmlJSTypePropagator can deal with it. However, it does not properly mark the import namespaces in the generated QQmlJSRegisterContent, and qmlsc crashes when trying to generate code for it.
qmlsc should generate some working code.
Attachments
For Gerrit Dashboard: QTBUG-95822 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
365080,8 | qmlcompiler: Add a content variant for module prefixes | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
365081,4 | Accept module prefixes in lookups | dev | qt/tqtc-qmlcachegenplus | Status: MERGED | +2 | 0 |