forked from qt-creator/qt-creator
		
	Blackberry: Remove blackberry support
Keep QNX. A short informal search did not turn up any more blackberry users, even though there is interest in QNX. So this patch removes the platform: We had no contact with the maintainers in months, there are no changes going into the code for about as long. I am not even aware of anybody testing the platform, so any remaining users are probably better of with Qt Creator 3.2 or so where the code was extensively tested. Change-Id: Ibeda6bfd8565599918cfcc08fd01cb5ed8793dc2 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
		@@ -62,30 +62,3 @@ QString QnxDeviceProcessSignalOperation::interruptProcessByNameCommandLine(
 | 
			
		||||
{
 | 
			
		||||
    return signalProcessByNameQnxCommandLine(filePath, 2);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
BlackBerryDeviceProcessSignalOperation::BlackBerryDeviceProcessSignalOperation(
 | 
			
		||||
        const QSsh::SshConnectionParameters &sshParameters)
 | 
			
		||||
    : RemoteLinux::RemoteLinuxSignalOperation(sshParameters)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static QString signalProcessByNameBlackBerryCommandLine(const QString &filePath, int sig)
 | 
			
		||||
{
 | 
			
		||||
    QString executable = filePath;
 | 
			
		||||
    return QString::fromLatin1("for PID in $(pidin -F \"%a %A\" | grep \"%1\" | awk '/%1/ {print $1}'); "
 | 
			
		||||
        "do "
 | 
			
		||||
            "kill -%2 $PID; "
 | 
			
		||||
        "done").arg(executable.replace(QLatin1String("/"), QLatin1String("\\/"))).arg(sig);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QString BlackBerryDeviceProcessSignalOperation::killProcessByNameCommandLine(const QString &filePath) const
 | 
			
		||||
{
 | 
			
		||||
    return QString::fromLatin1("%1; %2").arg(signalProcessByNameBlackBerryCommandLine(filePath, 15),
 | 
			
		||||
                                                             signalProcessByNameBlackBerryCommandLine(filePath, 9));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QString BlackBerryDeviceProcessSignalOperation::interruptProcessByNameCommandLine(const QString &filePath) const
 | 
			
		||||
{
 | 
			
		||||
    return signalProcessByNameBlackBerryCommandLine(filePath, 2);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user