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

QUdpSocket not right exit when bind

Scheduled Pinned Locked Moved Solved Mobile and Embedded
6 Posts 3 Posters 898 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 last edited by Wang.Mr
    #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
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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
      2
      • SGaistS SGaist

        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 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.HilkJ 1 Reply Last reply
        0
        • W Wang.Mr

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

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on 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 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
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on 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

              • Login

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