@DanB It's strange that it prints "Unknown" for TKXSBase and stuff. Are you sure these are the debug libs coming from bind directory of OpenCascade? Can you see there the pdb files? When you run your app from Visual Studio, does it print "symbols are loaded" when it comes to OpenCascade libs?
You are absolutely right, I loaded the release dlls. Still have a problem with TKBase and TKStep with the correct DLLs. I'll post the stack trace again
> TKXSBase.dll!Interface_InterfaceModel::NbEntities() Line 201 C++
TKSTEP.dll!STEPControl_Reader::NbRootsForTransfer() Line 126 C++
TKXSBase.dll!XSControl_Reader::TransferRoots(const Message_ProgressRange & theProgress) Line 309 C++
OcctQtViewer.exe!OcctQtViewer::loadStepFiles() Line 381 C++
OcctQtViewer.exe!OcctQtViewer::initializeGL() Line 354 C++
Qt5Widgetsd.dll!QOpenGLWidgetPrivate::initialize() Line 856 C++
Qt5Widgetsd.dll!QOpenGLWidget::resizeEvent(QResizeEvent * e) Line 1287 C++
Qt5Widgetsd.dll!QWidget::event(QEvent * event) Line 8810 C++
Qt5Widgetsd.dll!QOpenGLWidget::event(QEvent * e) Line 1467 C++
Qt5Widgetsd.dll!QApplicationPrivate::notify_helper(QObject * receiver, QEvent * e) Line 3632 C++
Qt5Widgetsd.dll!QApplication::notify(QObject * receiver, QEvent * e) Line 3582 C++
Qt5Cored.dll!QCoreApplication::notifyInternal2(QObject * receiver, QEvent * event) Line 1063 C++
Qt5Cored.dll!QCoreApplication::sendEvent(QObject * receiver, QEvent * event) Line 1459 C++
Qt5Widgetsd.dll!QWidgetPrivate::sendPendingMoveAndResizeEvents(bool recursive, bool disableUpdates) Line 7712 C++
Qt5Widgetsd.dll!QWidgetPrivate::show_helper() Line 7765 C++
Qt5Widgetsd.dll!QWidgetPrivate::setVisible(bool visible) Line 8113 C++
Qt5Widgetsd.dll!QWidget::setVisible(bool visible) Line 8044 C++
Qt5Widgetsd.dll!QWidget::show() Line 7670 C++
Qt5Widgetsd.dll!QWidgetPrivate::showChildren(bool spontaneous) Line 8185 C++
Qt5Widgetsd.dll!QWidgetPrivate::show_helper() Line 7772 C++
Qt5Widgetsd.dll!QWidgetPrivate::setVisible(bool visible) Line 8113 C++
Qt5Widgetsd.dll!QWidget::setVisible(bool visible) Line 8044 C++
Qt5Widgetsd.dll!QWidget::show() Line 7670 C++
OcctQtViewer.exe!main(int theNbArgs, char * * theArgVec) Line 137 C++
OcctQtViewer.exe!WinMain(HINSTANCE__ * __formal, HINSTANCE__ * __formal, char * __formal, int __formal) Line 97 C++
Edit: Also, exception is now "
Unhandled exception thrown: read access violation. this was nullptr."