DiscussionsIssue archiveInstallation and Building

Archived discussion

Build/Compile Qt Samples (Qt6.5.3)

Installation and BuildingThu, 05/02/2024 - 04:455 replies

Browse this forum
QuestionAuthor

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.

Discussion

5 archived replies

Posts are displayed in their archived order.

01Commenter-1

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, Commenter-1.

02Author

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.

03Commenter-2

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...

04Author

Hi,

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

Regards,
Dunja

05Commenter-1

Hello, please take a look into: IGES and STEP files to STL conversion issue - Forum Open Cascade Technology

Or if you use 7.8 you can use the next sample:  DE_Wrapper-Sample: Harnessing OCCT DE Components with Ease - Forum Open Cascade Technology

Best regards, Commenter-1.