Qt-interest Archive, January 2008
Qt/OpenGL on Mac
Message 1 in thread
I tried building a VTK based application to Qt 4.3.3 using VTK's QVTKWidget
which is derived from QWidget. Now I'm having problem keeping the OpenGL
view bounded to the HIView.
QVTKWidget listens to the Mac event 'cute'/20 for doing the equivalent of
AGL's aglSetHIViewRef to make sure the OpenGL view stays bounded to the
QWidget. As that's how Sam at Trolltech told me how to do it a long time
ago. In Qt 4.3.3, that event is no longer sent, and the replacement of that
code that used to do it only internally notifies the QGLWidgets so they can
update themselves.
What replacement for 'cute'/20 did Trolltech provide now? See
kEventQtRequestWindowChange in qt_mac_p.h.
It seems odd that it lasted from 4.0.0 to 4.3.2 only to be changed in 4.3.3 (a
patch release).
Thanks,
Clint
--
[ signature omitted ]