Commit b83ac9cc authored by Ulf Hermann's avatar Ulf Hermann

Remove functions to build QML debugging helpers

They aren't used anywhere.

Change-Id: Ia2b72e4cc60cfb7a6d360d7fb6ba7445dfe64d13
Reviewed-by: default avatarDaniel Teske <daniel.teske@theqtcompany.com>
parent a5674be6
...@@ -1650,30 +1650,6 @@ bool BaseQtVersion::isQtQuickCompilerSupported(QString *reason) const ...@@ -1650,30 +1650,6 @@ bool BaseQtVersion::isQtQuickCompilerSupported(QString *reason) const
return true; return true;
} }
void BaseQtVersion::buildDebuggingHelper(Kit *k, int tools)
{
BaseQtVersion *version = QtKitInformation::qtVersion(k);
ToolChain *tc = ToolChainKitInformation::toolChain(k);
if (!k || !version || !tc)
return;
version->buildDebuggingHelper(tc, tools);
}
void BaseQtVersion::buildDebuggingHelper(ToolChain *tc, int tools)
{
QTC_ASSERT(tc, return);
DebuggingHelperBuildTask *buildTask =
new DebuggingHelperBuildTask(this, tc, static_cast<DebuggingHelperBuildTask::Tools>(tools));
// pop up Application Output on error
buildTask->showOutputOnError(true);
QFuture<void> task = QtConcurrent::run(&QtSupport::DebuggingHelperBuildTask::run, buildTask);
const QString taskName = QCoreApplication::translate("BaseQtVersion", "Building Debugging Helpers");
ProgressManager::addTask(task, taskName, "Qt::BuildHelpers");
}
QList<FileName> BaseQtVersion::qtCorePaths(const QHash<QString,QString> &versionInfo, const QString &versionString) QList<FileName> BaseQtVersion::qtCorePaths(const QHash<QString,QString> &versionInfo, const QString &versionString)
{ {
QStringList dirs; QStringList dirs;
......
...@@ -192,8 +192,6 @@ public: ...@@ -192,8 +192,6 @@ public:
bool isQmlDebuggingSupported(QString *reason = 0) const; bool isQmlDebuggingSupported(QString *reason = 0) const;
static bool isQtQuickCompilerSupported(ProjectExplorer::Kit *k, QString *reason = 0); static bool isQtQuickCompilerSupported(ProjectExplorer::Kit *k, QString *reason = 0);
bool isQtQuickCompilerSupported(QString *reason = 0) const; bool isQtQuickCompilerSupported(QString *reason = 0) const;
static void buildDebuggingHelper(ProjectExplorer::Kit *k, int tools);
void buildDebuggingHelper(ProjectExplorer::ToolChain *tc, int tools);
virtual QString qmlDumpTool(bool debugVersion) const; virtual QString qmlDumpTool(bool debugVersion) 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