<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hello all,<br><br>I'd like to have a Qt+VTK integration similar to the Examples/GUI/Qt/GraphicsView.<br>My problem is that if I add a simple combo-box to the embedded dialog, the program crashes with stack overflow when I click on the combo box.<br>Other controls seems to work (button, checkbox...).<br><br>You can(?) reproduce if you put <br><br>&nbsp; QComboBox *cb = new QComboBox();<br>&nbsp; cb-&gt;addItem("first");<br>&nbsp; cb-&gt;addItem("second");<br>&nbsp; d-&gt;layout()-&gt;addWidget(cb);<br><br>into MyScene::MyScene().<br><br><br>If I change the viewport from the QVTKWidget to a QGLWidget:<br><br>//this-&gt;setViewport(mWidget);<br>this-&gt;setViewport(new QGLWidget(QGLFormat(QGL::SampleBuffers)));<br><br>and comment the paintEvent, drawBackground implementations, then<br>the embedded widget seems to work fine with the combobox. (but there is no vtk render).<br><br>if I don't remove paintEvent, drawBackground, then nothing is visible..<br><br>Do you have any idea what is wrong, and how can I get it working?<br><br>Thanks,<br>Zoltan<br><br>                                               <br /><hr />Windows Live:  <a href='http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010' target='_new'>Friends get your Flickr, Yelp, and Digg updates when they e-mail you.</a></body>
</html>