Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved QNativeSocketEngine::hasPendingDatagrams() was called in QAbstractSocket::UnconnectedState

    General and Desktop
    2
    2
    712
    Loading More Posts
    • 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.
    • N
      neha9 last edited by

      Re: Warning: hasPendingDatagrams called in UnconnectedState. Huh?

      Hello,

      I am using Qt 5.10.1 on ubuntu 16.04 . I have connected 7 inch LCD screen to Beaglebone black using HDMI cable.

      My issue is when I run my program for the first instance it works alright and when I stop that using ctrl+Z and again run the same program I get error "QNativeSocketEngine::hasPendingDatagrams() was called in QAbstractSocket::UnconnectedState "

      when I restart Beaglebone it works fine. I am not getting what is an issue and every time I cannot restart my controller.

      Please help me.

      jsulm 1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion @neha9 last edited by

        @neha9 said in QNativeSocketEngine::hasPendingDatagrams() was called in QAbstractSocket::UnconnectedState:

        I stop that using ctrl+Z

        That means the program is still alive but paused. Most probably you're trying to use same port which is already in used by the first instance which is paused. How do you connect? Did you check whether there are any errors when connecting?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 3
        • First post
          Last post