Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QUdpSocket not right exit when bind
Forum Updated to NodeBB v4.3 + New Features

QUdpSocket not right exit when bind

Scheduled Pinned Locked Moved Solved Mobile and Embedded
6 Posts 3 Posters 799 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Wang.Mr
    wrote on 2 Jul 2019, 12:03 last edited by Wang.Mr 7 Feb 2019, 13:07
    #1

    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.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 2 Jul 2019, 18:40 last edited by
      #2

      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 ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      W 1 Reply Last reply 3 Jul 2019, 01:02
      2
      • S SGaist
        2 Jul 2019, 18:40

        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 ?

        W Offline
        W Offline
        Wang.Mr
        wrote on 3 Jul 2019, 01:02 last edited by
        #3

        @SGaist thanks reply me.i usual use 5.10 for desktop. my device is wince6,so i use 4.8.6。

        J 1 Reply Last reply 3 Jul 2019, 05:48
        0
        • W Wang.Mr
          3 Jul 2019, 01:02

          @SGaist thanks reply me.i usual use 5.10 for desktop. my device is wince6,so i use 4.8.6。

          J Offline
          J Offline
          J.Hilk
          Moderators
          wrote on 3 Jul 2019, 05:48 last edited by
          #4

          @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 WCE

          So a limitation of 4.8.6 doesn't make much sense, from that standpoint alone.


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          1
          • W Offline
            W Offline
            Wang.Mr
            wrote on 4 Jul 2019, 03:49 last edited by
            #5

            Since the thread's active space causes this problem, modify the active space and you're done.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 4 Jul 2019, 06:55 last edited by
              #6

              @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 ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              1/6

              2 Jul 2019, 12:03

              • Login

              • Login or register to search.
              1 out of 6
              • First post
                1/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved