Commit b88de51c authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Main: Replace macro usage with HostOsInfo

Change-Id: I6ac6cbe39ba6552b30dc109a2310bff8c16b84e0
Reviewed-by: Eike Ziller's avatarEike Ziller <>
parent ffe52196
......@@ -222,9 +222,8 @@ static inline QStringList getPluginPaths()
// "$XDG_DATA_HOME/data/QtProject/qtcreator" or "~/.local/share/data/QtProject/qtcreator" on Linux
// "~/Library/Application Support/QtProject/Qt Creator" on Mac
pluginPath = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation);
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
pluginPath += QLatin1String("/data");
if (Utils::HostOsInfo::isAnyUnixHost() && !Utils::HostOsInfo::isMacHost())
pluginPath += QLatin1String("/data");
pluginPath += QLatin1Char('/')
+ QLatin1String(Core::Constants::IDE_SETTINGSVARIANT_STR)
+ QLatin1Char('/');
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment