Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.3
-
-
2c8c33180 (dev), 33ab53934 (6.9), 52217f077 (tqtc/lts-6.8)
Description
The example being talked about is:
https://doc.qt.io/qt-6/qml-qtquick3d-assetutils-runtimeloader.html
Step to reproduce:
1. Build the example and deploy
2. Either run by passing a .glb file to it as argument or import one from UI. .glb files for test can be found in my comment.
Result:
Status: Unsupported: Unknown error
The reason is that somehow the RuntimeLoader source is erased. I've put a
onSourceChanged: {
console.log("The source file is " + source)
}
inside RuntimeLoader, and the log goes like
qml: The source file is file:///usr/bin/mercedes.glb
qml: The source file is
"mercedes.glb" is the .glb file for test I put in /usr/bin, and the first entry is expected. Then the source is cleared for some resaon. And the error "Status: Unsupported: Unknown error" shown on screen.
BTW, the problem is only seen on QNX for now. The example runs well on desktop. So maybe a file system issue or some sort of security policy on QNX?
Update: packing .glb into resource does not work either. The source of RuntimLoader still becomes empty automatically somehow. And still the same "Status: Unsupported: Unknown error" error.
Attachments
Issue Links
- mentioned in
-
Page Loading...
For Gerrit Dashboard: QTBUG-136240 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
643230,2 | Build assetimporters plugin for QNX | dev | qt/qtquick3d | Status: MERGED | +2 | 0 |
643304,2 | Build assetimporters plugin for QNX | 6.9 | qt/qtquick3d | Status: MERGED | +2 | 0 |
643360,2 | Build assetimporters plugin for QNX | tqtc/lts-6.8 | qt/tqtc-qtquick3d | Status: MERGED | +2 | 0 |