eryar / occQt

A simple OpenCASCADE Qt demo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile

batuhancengiz opened this issue · 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)

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

@batuhancengiz Tell me please have you solved your issue?

@batuhancengiz Tell me please have you solved your issue?

Yes i did, thank you very much.

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

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

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?

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 }