Run process that does not block GUI
General and Desktop
2
Posts
2
Posters
762
Views
1
Watching
-
wrote on 11 Mar 2014, 08:06 last edited by
Hi guys, I'm new here.
I am creating network monitoring application and need to run PING in threads many times for watching each separate address. I have "this code":http://www.techques.com/question/1-4629185/Launch-and-write-to-terminal-in-Qt for running system PING in process, but this blocks my GUI. How do I make it run trully paralel? I will need tens of them running simultaneously.I run it from Mainwindow after connecting right signals and slots.
Thanks in advance. -
wrote on 11 Mar 2014, 08:37 last edited by JohanSolo
You'll need one thread per ping process you want to run. There are several good pages on how to use QThread: Threads, Events and QObjects and how to really truly use QThreads...
1/2