How to create GUI object in Qthread function or object and pass them to main Gui thread?

  • Dear All,

    I am developing Control system GUI which required to create remote server proxy and due to this my main gui thread hangs because of server disconnection or slow response.

    Please guide me how to create GUI object in Qthread and pass it to main thread so main thread never hangs.

    We are Using Taurusdesigner for development which is inherited from Qt designer.

    Hitesh Patel

  • Qt Champions 2017

    GUI objects can ONLY live in the main thread.
    You should move the communication with server to a thread and let it send signals to the
    GUI thread to display status / information.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.