Build/Compile Qt Samples (Qt6.5.3)

Hello Guys,
I could build and run the qt's FuncDemo, but when I tried to run other samples it showed this error:
Tutorial : run.sh: line 39: 10710 Segmentation fault (core dumped) ${BIN_DIR}/Tutorial
IESample : run.sh: line 37: 7338 Segmentation fault (core dumped) ${BIN_DIR}/IESample

In IESample case, when code run on this line (ApplicationWindow* mw = new ApplicationWindow();) in Main.cxx, the program was crashed.
I didn't know what happened...

What could be a problem? (Linux/Ubuntu22.04) (OCCT_7.8.0) (Qt6.5.3)

Thanks.
With respects, Dunja.

Dmitrii Pasukhin's picture

Hello, any samples that we have for occt tested on QT 5 and 4. They was not tested with QT 6.

For now I can't help you. Updates samples to QT 6 is not planned.

Best regards, Dmitrii.

怡茜 王's picture

Hello, I want to use the function like reading step file translate to STL and using VTK to show the step 3D image. like this sample (https://www.bilibili.com/read/cv23557862/)

Do you have any samples like above one by using OCCT7.8.0, please let me know.

Best regards, Dunja.

gkv311 n's picture

The referred code snippet lacks code computing triangulation (via BRepMesh_IncrementalMesh), thats why StlAPI_Writer fails. And it is unclear why would you save mesh into STL file at all if you are going to display it using VTK viewer, and why VTK...

怡茜 王's picture

Hi,

Would you mind to share your STEP->STL example in occt7.8.0 ? Thanks.

Regards,
Dunja

Dmitrii Pasukhin's picture