Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.4.3, 6.5.0
-
None
-
Windows 10 (attempted on multiple machines)
Description
I am attempting to draw a linestrip using QGeometryView and QGeometryRender.
I followed along with this post for QT5 which I was successfully able to build and run their solution using Qt 5.15.2 ( https://stackoverflow.com/questions/73485430/how-to-draw-a-lot-of-lines-with-qt3d-without-the-render-crashing ). See main.cpp's attached just copied into Qt3D simple-cpp example.
I adapted that code for Qt 6.4.3/Qt 6.5 by shifting QBuffer, QAttribute, and QGeometry to Qt3DCore, then routing the geometry through QGeometryView then QGeometryRenderer.
The modifications compile fine but when I attempt to run no lines are drawn and the application outputs:
NVD3DREL: GR-805 : DX9 Overlay is DISABLED
NVD3DREL:
GR-805 : DX9 Overlay is DISABLED
Qt3D.Renderer.RHI.Backend: Initializing RHI with DirectX backend
D3D11 ERROR: ID3D11Device::CreateInputLayout: The provided input signature expects to read an element with SemanticName/Index: 'TEXCOORD'/1, but the declaration doesn't provide a matching name. [ STATE_CREATION ERROR #163: CREATEINPUTLAYOUT_MISSINGELEMENT]
Failed to create input layout: COM error 0x80070057: The parameter is incorrect.
Qt3D.Renderer.RHI.Backend: Failed to build graphics pipeline: Creation Failed