Details
-
Technical task
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
Description
In qqmljsimporter, some comments hint that enums should be resolved before other types, but they are not in the presence of dependencies.
Concrete example, when importing Qt.Qml:
- import the dependencies
- resolve the dependencies enums
- resolve the dependencies other types (fails!)
- import QtQml itself
- resolve the module enums
- resolve the other types of the module
The step marked with "(fails!)" will not be able to resolve the method parameter flags in
QAbstractItemModel::match(...,Qt::MatchFlags flags)
as Qt::MatchFlags is only imported later: it lives in QtQml, not the dependency QtQml.Models where QAbstractItemModel lives.
Attachments
Issue Links
- duplicates
-
QTBUG-105240 Restructure the QtQml module
- Closed