Is there a way to list current processes using Qt on windows?
问题 Is it possible to know which processes are running using Qt 4? I'm looking for a way to wait until an application is closed by the user to make an operation. 回答1: I don't know a Qt solution either. But doing it is not that hard using the CreateToolhelp32Snapshot() , Process32FirstW() and Process32NextW() functions. Just search the MSDN for this. There is also a (IMO too complex) example on Taking a snapshot and viewing processes 回答2: Not really a Qt4 solution, but you could start WMIC in a