Shows running applications to a QTableView on Windows or Ubuntu
redstoneleo last edited by
I want to get the list of programs that shows in the Applications tab of Windows Task Manager and then shows them in a QTableView , I wonder which Windows APIs should I use ?
If I want to do the same thing on Ubuntu ,then which Ubuntu APIs should I use ?
On all Unix derivatives, you need to use the output of "ps" command. I don't know the APIs on Windows, but usually a quick Google search can tell you everything :)
andre last edited by
There is no Qt API for this. It is platform specific. You'll have to go dig in the documentation for both platforms to get this information, but that is off-topic here.