Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
486f40ee
Commit
486f40ee
authored
Feb 25, 2010
by
Tobias Hunger
Browse files
Report project and target name on build failures
parent
43efabd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/buildmanager.cpp
View file @
486f40ee
...
...
@@ -349,8 +349,9 @@ bool BuildManager::buildQueueAppend(BuildStep *bs)
bool
init
=
bs
->
init
();
if
(
!
init
)
{
const
QString
projectName
=
m_currentBuildStep
->
buildConfiguration
()
->
target
()
->
displayName
();
addToOutputWindow
(
tr
(
"<font color=
\"
#ff0000
\"
>Error while building project %1</font>"
).
arg
(
projectName
));
const
QString
projectName
=
m_currentBuildStep
->
buildConfiguration
()
->
target
()
->
project
()
->
displayName
();
const
QString
targetName
=
m_currentBuildStep
->
buildConfiguration
()
->
target
()
->
displayName
();
addToOutputWindow
(
tr
(
"<font color=
\"
#ff0000
\"
>Error while building project %1 (%2)</font>"
).
arg
(
projectName
,
targetName
));
addToOutputWindow
(
tr
(
"<font color=
\"
#ff0000
\"
>When executing build step '%1'</font>"
).
arg
(
m_currentBuildStep
->
displayName
()));
cancel
();
return
false
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment