<div dir="ltr"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div>Have you done this prior to your posted code?:</div><div><br></div><div>UI*-&gt;QVTKWidget-&gt;GetRenderWindow()-&gt;AddRenderer(vtkRenderer*);</div>
<div>UI*-&gt;QVTKWidget-&gt;GetRenderWindow()-&gt;SetInteractor(UI*-&gt;QVTKWidget-&gt;GetInteractor());</div><div><br></div><div>and also,</div><div>vtkWidget-&gt;ProcessEventsOn();</div><div><br></div><div><br></div><div>
Prathamesh</div><div><br></div>Message: 3<br>Date: Tue, 3 Aug 2010 16:22:00 +0100<br>From: Jothy &lt;<a href="mailto:jothybasu@gmail.com" style="color: rgb(42, 93, 176); ">jothybasu@gmail.com</a>&gt;<br>Subject: [vtkusers] Qt/VTK error<br>
To: VTK Mailing List &lt;<a href="mailto:vtkusers@vtk.org" style="color: rgb(42, 93, 176); ">vtkusers@vtk.org</a>&gt;<br>Message-ID:<br>       &lt;<a href="mailto:AANLkTinHUzGOuZS6r0qmYF2dO3AkUzvBaYcBXbjv0GCe@mail.gmail.com" style="color: rgb(42, 93, 176); ">AANLkTinHUzGOuZS6r0qmYF2dO3AkUzvBaYcBXbjv0GCe@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br><br>Hi all,<br><br>what&#39;s wrong here?<br><br>*ui-&gt;qvtkWidget-&gt;GetInteractor()-&gt;Initialize();*<br><br>*ui-&gt;qvtkWidget-&gt;GetRenderWindow()-&gt;Render();*<br>
<br>*checkerWidget-&gt;On();*<br><br>*ui-&gt;qvtkWidget-&gt;GetInteractor()-&gt;Start();<br><br>throws &quot;*QVTKInteractor (0x3652ba8): QVTKInteractor cannot control the<br>event loop.&quot; in Qt Creator.<br><br>Thanks,<br>
<br>Jothy<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20100803/449fd90c/attachment.html" target="_blank" style="color: rgb(42, 93, 176); ">http://www.vtk.org/pipermail/vtkusers/attachments/20100803/449fd90c/attachment.html</a>&gt;<br>
<br>------------------------------</span></div>