Commit 793dced4 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Qbs: Fallback to filename as project name if qbs parsing fails

Use the project filename as a fallback in case qbs parsing fails
without being able to extract the main project data.

Task-number: QTCREATORBUG-9777
Change-Id: Iceedf55c7f5d56a8876c19bcbd94082752c08336
Reviewed-by: default avatarTobias Hunger <>
parent 0644a2ef
...@@ -624,7 +624,10 @@ void QbsProjectNode::update(const qbs::ProjectData &prjData) ...@@ -624,7 +624,10 @@ void QbsProjectNode::update(const qbs::ProjectData &prjData)
} }
} }
if (!
setDisplayName(; setDisplayName(;
removeProjectNodes(toRemove); removeProjectNodes(toRemove);
addProjectNodes(toAdd); addProjectNodes(toAdd);
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