Commit e4553711 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Qbs: Clear build system related tasks before reparsing qbs



Task-number: QTCREATORBUG-9778

Change-Id: Ic054f1619832a5ff0ea53d7fc5225fe674ddac13
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 793dced4
......@@ -392,6 +392,10 @@ void QbsProject::parse(const QVariantMap &config, const Utils::Environment &env,
{
QTC_ASSERT(!dir.isNull(), return);
// Clear buildsystem related tasks:
ProjectExplorer::ProjectExplorerPlugin::instance()->taskHub()
->clearTasks(ProjectExplorer::Constants::TASK_CATEGORY_BUILDSYSTEM);
qbs::SetupProjectParameters params;
params.setBuildConfiguration(config);
qbs::ErrorInfo err = params.expandBuildConfiguration(m_manager->settings());
......
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