Core: Remove unused functions

Change-Id: I4c9123818c8818550574a8bbd86376d38c51b9a6
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Marcus Tillmanns
2024-07-29 08:02:40 +02:00
parent b54a4ed744
commit 016eb7a9d2
2 changed files with 0 additions and 34 deletions

View File

@@ -642,38 +642,6 @@ FilePath ICore::installerResourcePath(const QString &rel)
/ appInfo().id / rel;
}
/*!
Returns the path to the plugins that are included in the \QC installation.
\internal
*/
QString ICore::pluginPath()
{
return QDir::cleanPath(QCoreApplication::applicationDirPath() + '/' + RELATIVE_PLUGIN_PATH);
}
/*!
Returns the path where user-specific plugins should be written.
\internal
*/
QString ICore::userPluginPath()
{
const QVersionNumber appVersion = QVersionNumber::fromString(
QCoreApplication::applicationVersion());
QString pluginPath = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation);
if (Utils::HostOsInfo::isAnyUnixHost() && !Utils::HostOsInfo::isMacHost())
pluginPath += "/data";
pluginPath += '/' + QCoreApplication::organizationName() + '/';
pluginPath += Utils::HostOsInfo::isMacHost() ? QGuiApplication::applicationDisplayName()
: appInfo().id;
pluginPath += "/plugins/";
pluginPath += QString::number(appVersion.majorVersion()) + '.'
+ QString::number(appVersion.minorVersion()) + '.'
+ QString::number(appVersion.microVersion());
return pluginPath;
}
/*!
Returns the path, based on the relative path \a rel, to the command line tools that are
included in the \QC installation.

View File

@@ -147,8 +147,6 @@ public:
static QString aboutInformationHtml();
static QString systemInformation();
static void setupScreenShooter(const QString &name, QWidget *w, const QRect &rc = QRect());
static QString pluginPath();
static QString userPluginPath();
static Utils::FilePath clangExecutable(const Utils::FilePath &clangBinDirectory);
static Utils::FilePath clangdExecutable(const Utils::FilePath &clangBinDirectory);
static Utils::FilePath clangTidyExecutable(const Utils::FilePath &clangBinDirectory);