Hi,

I have a custom qquickitem that draw an opengl view. I wants to implement
picking when I have a mousePressEvent : It works fine on Windows, but crash
on Mac when I call any opengl functions.  I suppose I need to call a
makeCurrent  before calling any opengl functions but I don't know how to do
that . I have save a currentContext and associated qsurface when updateGL
is called, then when I have a mousePressEvent I try to do a
context->makeCurrent(surface) but it crash on mac !
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to