occQt icon indicating copy to clipboard operation
occQt copied to clipboard

Compile

Open batuhancengiz opened this issue 3 years ago • 7 comments

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)

batuhancengiz avatar Oct 13 '21 12:10 batuhancengiz

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

eryar avatar Nov 23 '21 00:11 eryar

@batuhancengiz Tell me please have you solved your issue?

A-simo avatar Jan 27 '22 10:01 A-simo

@batuhancengiz Tell me please have you solved your issue?

Yes i did, thank you very much.

batuhancengiz avatar Jan 28 '22 06:01 batuhancengiz

@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?

A-simo avatar Jan 28 '22 07:01 A-simo

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

batuhancengiz avatar Jan 28 '22 07:01 batuhancengiz

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?

A-simo avatar Jan 28 '22 10:01 A-simo

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 }

canyu0 avatar May 21 '24 10:05 canyu0