I have migrate my Qt/OCC integration from V3d_View/QWidget to V3d_View/QOpenGLWidget like done in the OcctQtViewer sample application https://github.com/gkv311/occt-samples-qopenglwidget but now the linewidth of wireframe shape is not working anymore (see difference in attached image, left is V3d_View/QOpenGLWidget and right is V3d_View/QWidget from my application before I migrate).
I am using OCC 7.6.0 for my application. I tested the following snippet:
// dummy shape for testing
TopoDS_Shape aBox = BRepPrimAPI_MakeBox (100.0, 50.0, 90.0).Shape();
Handle(AIS_Shape) aShape = new AIS_Shape (aBox);
myContext->Display (aShape, AIS_WireFrame, 0, false);
So line width is not working, but I tested point size (using a vertex instead of the box shape) and the point size is working.
Does anyone have any clues on why it is not working and how to fix this, is it a bug?