Unsolved 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.
Thanks,
Hitesh Patel -
Hi
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.