QT and OpenCascade under WinNT

Does anyone know how to initialize a viewer and a 3d view in a QT window (QWigdet) under WinNT.

If I could get the HWND handle to that QT window it would work. But I can't figure out how to do it.

Is there any (WinNT) QT expert out there ??

Thanks in advance.

Simon

Leonid LIFSHITS's picture

Hello Simon,

It's really possible to connect CASCADE Viewers to a Qt Widget.

You can get HWND handle of QWidget simply using method QWidget::winId().

I hope it will help you.

Regards, Leonid.