Commit a4aa2bc2 authored by Daniel Teske's avatar Daniel Teske Committed by Tobias Hunger

Abi: Remove traces of harmhattan and maemo support

Change-Id: Ibacaf76e39e98c9d37d56e0bdedbbae07702e979
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 5ef35e41
......@@ -311,7 +311,7 @@ Abi::Abi(const Architecture &a, const OS &o,
m_osFlavor = UnknownFlavor;
break;
case ProjectExplorer::Abi::LinuxOS:
if (m_osFlavor < GenericLinuxFlavor || m_osFlavor > MaemoLinuxFlavor)
if (m_osFlavor < GenericLinuxFlavor || m_osFlavor > AndroidLinuxFlavor)
m_osFlavor = UnknownFlavor;
break;
case ProjectExplorer::Abi::BsdOS:
......@@ -388,10 +388,6 @@ Abi::Abi(const QString &abiString) :
m_osFlavor = NetBsdFlavor;
else if (abiParts.at(2) == QLatin1String("openbsd") && m_os == BsdOS)
m_osFlavor = OpenBsdFlavor;
else if (abiParts.at(2) == QLatin1String("maemo") && m_os == LinuxOS)
m_osFlavor = MaemoLinuxFlavor;
else if (abiParts.at(2) == QLatin1String("harmattan") && m_os == LinuxOS)
m_osFlavor = HarmattanLinuxFlavor;
else if (abiParts.at(2) == QLatin1String("generic") && m_os == MacOS)
m_osFlavor = GenericMacFlavor;
else if (abiParts.at(2) == QLatin1String("generic") && m_os == UnixOS)
......@@ -638,10 +634,6 @@ QString Abi::toString(const OSFlavor &of)
return QLatin1String("netbsd");
case ProjectExplorer::Abi::OpenBsdFlavor:
return QLatin1String("openbsd");
case ProjectExplorer::Abi::MaemoLinuxFlavor:
return QLatin1String("maemo");
case ProjectExplorer::Abi::HarmattanLinuxFlavor:
return QLatin1String("harmattan");
case ProjectExplorer::Abi::GenericMacFlavor:
return QLatin1String("generic");
case ProjectExplorer::Abi::GenericUnixFlavor:
......@@ -699,8 +691,7 @@ QList<Abi::OSFlavor> Abi::flavorsForOs(const Abi::OS &o)
case BsdOS:
return result << FreeBsdFlavor << OpenBsdFlavor << NetBsdFlavor << UnknownFlavor;
case LinuxOS:
return result << GenericLinuxFlavor << HarmattanLinuxFlavor << MaemoLinuxFlavor
<< AndroidLinuxFlavor << UnknownFlavor;
return result << GenericLinuxFlavor << AndroidLinuxFlavor << UnknownFlavor;
case MacOS:
return result << GenericMacFlavor << UnknownFlavor;
case UnixOS:
......
......@@ -73,8 +73,6 @@ public:
// Linux
GenericLinuxFlavor,
AndroidLinuxFlavor,
HarmattanLinuxFlavor,
MaemoLinuxFlavor,
// Mac
GenericMacFlavor,
......
......@@ -103,7 +103,6 @@ LibraryDetailsController::LibraryDetailsController(
}
}
}
setPlatformsVisible(true);
setLinkageGroupVisible(true);
setMacLibraryGroupVisible(true);
......
......@@ -166,11 +166,6 @@ QStringList QMakeStep::deducedArguments()
ProjectExplorer::Abi targetAbi;
if (tc)
targetAbi = tc->targetAbi();
if ((HostOsInfo::isWindowsHost() || HostOsInfo::isMacHost())
&& (targetAbi.osFlavor() == ProjectExplorer::Abi::HarmattanLinuxFlavor
|| targetAbi.osFlavor() == ProjectExplorer::Abi::MaemoLinuxFlavor)) {
arguments << QLatin1String("-unix");
}
// explicitly add architecture to CONFIG
if ((targetAbi.os() == ProjectExplorer::Abi::MacOS)
......
......@@ -1475,16 +1475,6 @@ bool BaseQtVersion::isQmlDebuggingSupported(QString *reason) const
if (!needsQmlDebuggingLibrary() || hasQmlDebuggingLibrary())
return true;
if (!qtAbis().isEmpty()) {
Abi abi = qtAbis().first();
if (abi.osFlavor() == Abi::MaemoLinuxFlavor) {
if (reason)
reason->clear();
// *reason = QCoreApplication::translate("BaseQtVersion", "Qml debugging on device not yet supported.");
return false;
}
}
if (!isValid()) {
if (reason)
*reason = QCoreApplication::translate("BaseQtVersion", "Invalid Qt version.");
......
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