<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>It doesn't. &nbsp;Perhaps you are using multiple QtCore libraries (e.g. debug and release libraries)?</div><div>Your debugger should help you see if that is happening. &nbsp;Your debugger should also be able to tell you how many threads you have.</div><div><br></div><div>Clint</div><br><div><div>On Sep 2, 2010, at 7:38 PM, Ashika Umanga Umagiliya wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Greeting all,<div><br></div><div>I was wondering whether QVTKWidget create new threads for VTK related process?</div><div>Because when QVTKWidget is create in my application,it display an warning saying:</div><div><br></div>
<div><span class="Apple-style-span" style="font-family: monospace; font-size: medium; white-space: pre; ">"QObject: Cannot create children for a parent that is in a different thread.</span></div><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><pre>(Parent is QObject(0x112f5e68), parent's thread is QThread(0xb438a0),&nbsp;</pre></span><div><span class="Apple-style-span" style="font-family: monospace; font-size: medium; white-space: pre; ">current thread is QThread(0x112fedc0)"</span></div>
<div><br></div><div><br></div><div>PS: this is related to my previous post &nbsp;<a href="http://www.vtk.org/pipermail/vtkusers/2010-September/111355.html">http://www.vtk.org/pipermail/vtkusers/2010-September/111355.html</a></div>
<div><br></div><div>Thanks in advance,</div><div>umanga</div>
_______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br></body></html>