[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] QThreadPool Usage Error
From:       "Hitesh  Patel" <hitesh.dpatel () tcs ! com>
Date:       2017-09-04 14:31:03
Message-ID: 1504535491658.11980 () tcs ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Dear All,


I have used  QThreadPool() feature in my GUI to update table Using thread.While using

QThreadPool() it throwing below error:

Qt: QObject::setParent: Cannot set parent, new parent is in a different thread


Please help me to solve this issue. Any Example is welcome.



Thanks & Regards
Hitesh Patel
Assistant System Engineer
Tata Consultancy Services Limited
Bldg.No.7-Unit No- 402,501,601,701,(floors 4th - 7th)
Commerzone Survey No.144/145
Samrat Ashok Path,Off Airport Road,Yerwada
Pune - 411006
Maharashtra, India
Cell Number: 8238071972
Mail to: hitesh.dpatel@tcs.com
Web site: www.tcs.com
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



[Attachment #5 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} \
--></style> </head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
 <p>Dear All,</p>
<p><br>
</p>
<p>I have used&nbsp; QThreadPool() feature in my GUI to update table Using \
thread.While using </p>
<p>QThreadPool() it throwing below error:</p>
<p><strong>Qt: QObject::setParent: Cannot set parent, new parent is in a different \
thread<br> </strong></p>
<p><br>
<strong></strong></p>
<p>Please help me to solve this issue. Any Example is welcome.<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" \
style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0"> \
<span><span id="emailGratitudeIdSpan" class="ng-binding">Thanks &amp; Regards</span> \
<br> </span><span><span id="firstNameSpan" class="ng-binding">Hitesh</span> <span \
id="lastNameSpan" class="ng-binding"> Patel</span> <br>
</span><span><span id="roleCertiDescSpan" class="ng-binding">Assistant System \
Engineer</span> <br>
</span><span><span id="companyNameIdSpan" class="ng-binding">Tata Consultancy \
Services Limited</span> <br>
</span><span id="addressSpan"><span style=""><span class="ng-binding">Bldg.No.7-Unit \
No- 402,501,601,701,(floors 4th - 7th)</span> <br>
</span><span style=""><span class="ng-binding">Commerzone Survey No.144/145</span>
<br>
</span><span style=""><span class="ng-binding">Samrat Ashok Path,Off Airport \
Road,Yerwada</span> <br>
</span><span style=""><span class="ng-binding">Pune - 411006</span> <br>
</span><span style=""><span class="ng-binding">Maharashtra, India</span> <br>
</span></span><span id="cellNoSpan"><span style="font-weight:bold">Cell \
Number:</span> <span class="ng-binding">8238071972</span> <br>
</span><span><span style="font-weight:bold">Mail to:</span> <span class="ng-binding" \
style="color:#0101ff"> hitesh.dpatel@tcs.com</span> <br>
<span style="font-weight:bold">Web site:</span> <span \
style="color:#0101ff">www.tcs.com</span></span></div> </div>
<p>=====-----=====-----=====<br>
Notice: The information contained in this e-mail<br>
message and/or attachments to it may contain <br>
confidential or privileged information. If you are <br>
not the intended recipient, any dissemination, use, <br>
review, distribution, printing or copying of the <br>
information contained in this e-mail message <br>
and/or attachments to it are strictly prohibited. If <br>
you have received this communication in error, <br>
please notify us by reply e-mail or telephone and <br>
immediately and permanently delete the message <br>
and any attachments. Thank you</p>

<p></p></body>
</html>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic