[vtk-developers] qtgraphicsview example crash with OpenGL2

xVict suharev at roentgenprom.ru
Fri May 26 04:09:12 EDT 2017


Sorry, Reply post again.

I have same situation for VTK 7.1.1 stable QT5.5.1 

 1      0000000000000000() 
*2     
vtkRenderingOpenGL2-7.1_d.dll!vtkOpenGLRenderWindow::OpenGLInitState() 
 3      vtkGUISupportQtOpenGL-7.1_d.dll!QVTKGraphicsItem::Start() 
 4     
vtkGUISupportQtOpenGL-7.1_d.dll!QVTKGraphicsItem::qt_static_metacall(QObject
* _o=0x000000000409e600, QMetaObject::Call _c=InvokeMetaMethod, int
_id=0x00000002, void * * _a=0x0000000000317428) 
 5      Qt5Cored.dll!QMetaObject::activate(QObject *
sender=0x0000000005ff20e0, int signalOffset=0x00000003, int
local_signal_index=0x00000000, void * * argv=0x0000000000317428) 
 6      Qt5Cored.dll!QMetaObject::activate(QObject *
sender=0x0000000005ff20e0, const QMetaObject * m=0x000007fee70a4c88, int
local_signal_index=0x00000000, void * * argv=0x0000000000317428) 

{,,vtkglew-7.1_d.dll}__glewBlendFuncSeparate 0x0000000000000000 void
(unsigned int, unsigned int, unsigned int, unsigned int) * 

The vtkglew is not initialized. 
I add call to consructor GraphicsView in 
GraphicsView.hpp(34): mWidget->GetRenderWindow()->OpenGLInit(); //<---------
init glew 
After it sample worked. 
But i don't now how to correct. 

Thank you all. 



--
View this message in context: http://vtk.1045678.n5.nabble.com/qtgraphicsview-example-crash-with-OpenGL2-tp5737916p5743423.html
Sent from the VTK - Dev mailing list archive at Nabble.com.


More information about the vtk-developers mailing list