Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
5.13.0, 5.13.1
-
-
5ca1d2e0b2912e578a32c5e11b4fd1d7a0ef28f3
Description
When a qmldir contains multiple singletons the application fails silently when beeing called over http. When each singleton is imported from a seperate directory it works.
Steps to reproduce:
- download the attached test project
- compile the code
- execute a webserver in the source directory (e.x python -m http.server)
Expected result:
- green is beeing displayed on the screen
The Webserver creates the following output:
C:\Users\feurd\Downloads\test>python -m http.server
Serving HTTP on 0.0.0.0 port 8000 ...
127.0.0.1 - - [13/Sep/2019 09:15:35] "GET /Com/Orga/Handlers/Handler.qml HTTP/1.1" 200 -
127.0.0.1 - - [13/Sep/2019 09:15:35] "GET /Com/Orga/Handlers/qmldir HTTP/1.1" 200 -
127.0.0.1 - - [13/Sep/2019 09:15:35] code 404, message File not found
127.0.0.1 - - [13/Sep/2019 09:15:35] "GET /Com/Orga1.1.0/qmldir HTTP/1.1" 404 -
127.0.0.1 - - [13/Sep/2019 09:15:35] code 404, message File not found
127.0.0.1 - - [13/Sep/2019 09:15:35] "GET /Com/Orga1.1/qmldir HTTP/1.1" 404 -
127.0.0.1 - - [13/Sep/2019 09:15:35] code 404, message File not found
127.0.0.1 - - [13/Sep/2019 09:15:35] "GET /Com.1.0/Orga1/qmldir HTTP/1.1" 404 -
127.0.0.1 - - [13/Sep/2019 09:15:35] code 404, message File not found
127.0.0.1 - - [13/Sep/2019 09:15:35] "GET /Com.1/Orga1/qmldir HTTP/1.1" 404 -
127.0.0.1 - - [13/Sep/2019 09:15:35] "GET /Com/Orga1/qmldir HTTP/1.1" 200 -
127.0.0.1 - - [13/Sep/2019 09:15:35] "GET /Com/Orga1/Singleton1.qml HTTP/1.1" 200 -
127.0.0.1 - - [13/Sep/2019 09:15:35] "GET /Com/Orga1/Singleton2.qml HTTP/1.1" 200 -
Attachments
Issue Links
- duplicates
-
QTBUG-78098 Bug when loading a qml module via a URL, with singletons and inheritance
- Closed