Unsolved PyQt not responding with example code
-
And how can i improve this code to not doing it ? Can you tell me what to add to this code ? Please.
-
If you want to run long lasting tasks without blocking your GUI either use QtConcurrent or move it to another thread.
-
I just can not find on internet how to properly use this. Where to put this command or how to work with it.
-
What command are you talking about ?
-
I mean this QtConcurrent. I dont know how to use it, where to put this thing in this code.
-
Did you read the documentation I linked ?
-
@Samuel-Bachorik This tutorial about multithreading may help you solve your problem.
-
@unplug Thank you man !!!!!
-
Hi Sir,
In threading is it possible to run with out sleep ? -
@Amarnath-Reddy-S said in PyQt not responding with example code:
In threading is it possible to run with out sleep ?
Yes, don't call sleep() then.
Keep in mind that the thread will consume 100% of one CPU core.