Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
QDS 4.4, QDS 4.5, QDS 4.6.0, QDS 4.6.2
Description
Application output in Creator shows:
10:49:41: Starting C:\Users\user\Documents\build-UntitledProject40-release654\UntitledProject40App.exe...
qsbc file is for a different Qt version
Ignoring qsbc file C:/Users/user/AppData/Local/UntitledProject40App/cache/q3dshadercache-x86_64-little_endian-llp64/q3dshadercache.qsbc
Mesh data invalid
Mesh data invalid
Mesh data invalid
QSSG.warning: Failed to load mesh: :/qt/qml/Quick3DAssets/Lowpoly_car/meshes/lowpolyCar_mesh.mesh
Mesh data invalid
QSSG.warning: Failed to load mesh: :/qt/qml/Quick3DAssets/Box/meshes/box001_mesh.mesh
10:49:59: C:\Users\user\Documents\build-UntitledProject40-release654\UntitledProject40App.exe exited with code 0
Steps to reproduce:
- Install latest snapshot of Design Studio 4.4, Creator (latest released) and Qt6.5.4 with QtQuick3D
- Create a 3D project with DS
- Import attached 3D assets to the project and add to scene
- Generate Cmake build files (File -> Export project -> Generate Cmake Build Files...)
- Open Creator and open CMakeList.txt of the DS project
- Configure 6.5.4 Kit for the project
- Build&Run
- -> Build succeeds, but 3D models are not visible in running app, application output shows the above output.
- Build and run with Qt6.6.1 works without this issue
The reason for this is that the .mesh files created with
Qt 6.6 are not backwards compatible with Qt 6.5.4.