Commit 5ce1920e authored by Tobias Hunger's avatar Tobias Hunger Committed by Christian Kandeler

Hack to get remote deployment for linux

Really ugly hack to get remote deployment for desktop linux going
again. This is a regression that we recently introduced and should
have again in the next version of Qt Creator.

The proper fix will be happening when adding a system environment
for Qt Creator 2.6.

Change-Id: Iaa9782eda0f7bb434ac5a538a4ef49be11eb3643
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent 45dfc39f
......@@ -87,7 +87,20 @@ QList<ProjectExplorer::Abi> DesktopQtVersion::detectQtAbis() const
bool DesktopQtVersion::supportsTargetId(const QString &id) const
{
return id == QLatin1String(Constants::DESKTOP_TARGET_ID);
using namespace ProjectExplorer;
if (id == QLatin1String(Constants::DESKTOP_TARGET_ID))
return true;
if (id == QLatin1String("RemoteLinux.EmbeddedLinuxTarget")) {
foreach (const Abi &abi, qtAbis()) {
switch (abi.os()) {
case Abi::BsdOS: case Abi::LinuxOS: case Abi::MacOS: case Abi::UnixOS:
return true;
default:
break;
}
}
}
return false;
}
QSet<QString> DesktopQtVersion::supportedTargetIds() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment