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

Qbs: Do not clean compiler issues when reparsing



Task-number: QTCREATORBUG-9979

Change-Id: If66146a6a5764b916470426e094c9f3f617ef2cd
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent d468f072
......@@ -384,9 +384,6 @@ void QbsProject::parse(const QVariantMap &config, const Utils::Environment &env,
{
QTC_ASSERT(!dir.isNull(), return);
// Clear buildsystem related tasks:
ProjectExplorer::TaskHub::clearTasks(ProjectExplorer::Constants::TASK_CATEGORY_BUILDSYSTEM);
qbs::SetupProjectParameters params;
params.setBuildConfiguration(config);
qbs::ErrorInfo err = params.expandBuildConfiguration(m_manager->settings());
......@@ -443,7 +440,7 @@ void QbsProject::prepareForParsing()
{
m_forceParsing = false;
ProjectExplorer::TaskHub::clearTasks(ProjectExplorer::Constants::TASK_CATEGORY_COMPILE);
ProjectExplorer::TaskHub::clearTasks(ProjectExplorer::Constants::TASK_CATEGORY_BUILDSYSTEM);
if (m_qbsUpdateFutureInterface)
m_qbsUpdateFutureInterface->reportCanceled();
delete m_qbsUpdateFutureInterface;
......
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