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. client GUI hangs after server application is paused and resumed
Qt 6.11 is out! See what's new in the release blog

client GUI hangs after server application is paused and resumed

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 506 Views
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I have a client application which has two threads running:

    1. Woker thread and main event loop thread(handling the GUI)

    The worker thread communicated with server application using TCP/IP .
    The GUI thread receives and sends information from and to worker thread using signals and slots.

    When I pause my server application- both client side threads worker and GUI work fine.
    When I resume my server application after the pause- worker thread sends/receives data but GUI does not respond. Server application is working fine. I suspect that the main eventloop probably exited??

    1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      What exactly happens when you resume the server? It looks like your GUI thread is blocked or waiting for something.

      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