Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
46429839fe (qt/qtdeclarative/dev) 46429839fe (qt/tqtc-qtdeclarative/dev)
Description
We need to restructure QtQml in order to avoid cyclic dependencies and issues with enum resolution. The structure is as follows:
- QtQml - A qmldir only module that imports the three other modules
- QtQml.Base - What QtQml currently is minus its import entries, contains all type info and the actual plugin
- QtQml.Models - As before but can depend on QtQml.Base now
- QtQml.WorkerScript - As before but can depend on QtQml.Base now
This is way cleaner and allows us to avoid a lot of ugly hacks.
Attachments
Issue Links
- depends on
-
QTBUG-105349 qt_internal_add_qml_module: Using NO_PLUGIN leads to broken Target.cmake file on Windows
- Closed
- is duplicated by
-
QTBUG-107612 qqmljsimporter: resolve enums before other types
- Closed
- is required for
-
QTBUG-101143 QML_FOREIGN refering to a class in another library leaves the type empty in qmltypes file
- Closed
- resulted in
-
QTBUG-108217 QML Modules without plugin cannot be deployed
- Closed
-
QTBUG-119473 Restructure the QtQml library
- Closed
For Gerrit Dashboard: QTBUG-105240 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
424804,30 | QtQml: Restructure the module | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
431298,8 | QML: Output more verbose error if qmldir-import fails | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
441764,9 | QML: Fix precedence between imports | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |