eryar / occQt

A simple OpenCASCADE Qt demo.
MIT License
292 stars 137 forks source link

Compile #26

Open batuhancengiz opened 2 years ago

batuhancengiz commented 2 years ago

I want to compile this project. But no idea how to implement cascade to Qt Creator. You lost me in this part "set the variable CASROOT Opencascade installation path". :( Can you help me?

(in windows environment)

eryar commented 2 years ago

You can ignore the variable CASROOT, but you need to set the opencascade inc/lib for Qt.

A-simo commented 2 years ago

@batuhancengiz Tell me please have you solved your issue?

batuhancengiz commented 2 years ago

@batuhancengiz Tell me please have you solved your issue?

Yes i did, thank you very much.

A-simo commented 2 years ago

@batuhancengiz Tell me please have you solved your issue?

Yes i did, thank you very much.

So glad to hear that! Can you help me please? Can you please write more detailed instruction according to your steps?

batuhancengiz commented 2 years ago

Just i have changed the path of OPENCASCADE on the text file.

A-simo commented 2 years ago

Just i have changed the path of OPENCASCADE on the text file.

@batuhancengiz Do you mean replacing CASROOT = D:/OpenCASCADE7.4.0/opencascade-7.4.0 path in occQt.pro? I have replaced it with my actual path CASROOT = C:/OpenCASCADE-7.6.0-vc14-64/opencascade-7.6.0 and I still have "include" errors like this: "occQt.cpp:21:10: error: 'gp_Elips.hxx' file not found".

Did I miss something important?

canyu0 commented 4 months ago

Just i have changed the path of OPENCASCADE on the text file.

@batuhancengiz Do you mean replacing CASROOT = D:/OpenCASCADE7.4.0/opencascade-7.4.0 path in occQt.pro? I have replaced it with my actual path CASROOT = C:/OpenCASCADE-7.6.0-vc14-64/opencascade-7.6.0 and I still have "include" errors like this: "occQt.cpp:21:10: error: 'gp_Elips.hxx' file not found".

Did I miss something important?

replace all the $$(CASROOT) by $$CASROOT here is part of my occQt.pro as an example CONFIG(debug, debug|release) { message("Debug 64 build") LIBS += -L$$CASROOT/win64/$$compiler/lib } else { message("Release 64 build") LIBS += -L$$CASROOT/win64/$$compiler/lib }