How to kill a windows process if running from my Qt Application?
-
I am working on an Installer which is implemented in Qt.
During un-installation (using this qt installer ) this should kill a windows process if its running.
So my point is : Is its possible i can get the list of processes which are running and i can get the PID and kill them using Qt APIs?Thanks in advance.
Regards,
Pr -
You can use #ifdef Q_OS_WIN or something to mask out your windows code when not building on windows or put the OS specific code into separate files and have the build system sort out which object files to link together.