Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.13.0, 5.13.1
-
-
5ca1d2e0b2912e578a32c5e11b4fd1d7a0ef28f3 (qt/qtdeclarative/5.14)
Description
I'm aware of bug QTBUG-30467 wich affects the use of modules over a network connection. This bug might be related but I'm not sure how.
When loading an QML-Type over network this type might import a different namespace and in that namespace declares a singleton. So far everything works as expected. But this singleton might inherit a user defined type. This leads to an empty qml view. No error is displayed though.
See the attached zip file with a working reproducer. You need to serve the folder via http for example by using the command python3 -m http.server.
Attachments
Issue Links
- is duplicated by
-
QTBUG-78270 Multiple singletons do not get instanciated from same qmldir over http
- Closed
- relates to
-
QTBUG-30467 When loading a qml module via a URL, qmldir files are parsed multiple times resulting in load failures
- Closed