Solved QUdpSocket not right exit when bind
-
Does anybody have this problem:
If use Qudpsocket bind to a port,when quit programe,udpsocket still have a thread work,the programe not exit;if not bind ,the programe can right exit.
What causes this problem? The version is in 4.8.6 and run in wince. -
Hi,
Are you locked to that old version of Qt ?
Qt 4 has reached end of life a few years ago. If you can't upgrade to Qt 5, can you at least test Qt 4.8.7 which is the last version of that release ? -
@SGaist thanks reply me.i usual use 5.10 for desktop. my device is wince6,so i use 4.8.6。
-
@Wang.Mr
The latest version of Qt for windows CE is, to my knowledge, 5.6 and this is due to the limiting factor of MSVC 2008 that's required for WCESo a limitation of 4.8.6 doesn't make much sense, from that standpoint alone.
-
Since the thread's active space causes this problem, modify the active space and you're done.
-
@Wang.Mr said in QUdpSocket not right exit when bind:
Since the thread's active space causes this problem, modify the active space and you're done.
Thanks for the feedback but that's not really clear. Can you give a bit more details about what you mean here ?