void killProcess::killProcessByName(std::string strName)
{
std::string strkillProcess;
#ifdef Q_OS_WIN32
strkillProcess = "taskkill /f /t /im ";
strkillProcess = strkillProcess + strName;
#endif
#ifdef Q_OS_LINUX
strkillProcess = "killall -9 ";
strkillProcess = killProcess + strName;
#endif
system(strkillProcess.c_str());
}