Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QT and OpenCascade



  • Hello everyone, I'm using QT and the CAD libraries OpenCascade. I'm working on a visualizer but when I run the code the application output shows "The program has unexpectely finished. The process was ended forcefully." even though there are no errors in the code. Then I run the debugger and a popup appears showing "The CDB process terminated" I'm working on Windows 10, the kit is Visual Studio 2019 and qt 5.15.0. What could the problem be? Thanks


  • Lifetime Qt Champion

    Hi
    Like here?
    https://forum.qt.io/topic/69130/unexpected-cdb-exit

    When you run the the app in non debug, it never starts but crashes at once ?
    It could be you need some OpenCascade dlls in build folder or
    add path to the fodler wher eit can find it in Projects - environment
    alt text



  • Hi @mrjj, yes, it happens just like in the link and it crashes in non debug run, I added the bin location of OpenCascade to the "Path" variable in System Environment but it doesn't work. Do I have to create another variable for the dlls or what else can I do? Thanks


  • Lifetime Qt Champion

    @JRomero
    Hi
    No that should be it.

    When it crash from very start its off DLL related.

    Are you sure whatever OpenCascade DLLs you are using are for the compiler you are using for the app?


Log in to reply