Skip to content
GitLab
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
5b728081
Commit
5b728081
authored
Aug 19, 2010
by
Tobias Hunger
Browse files
Reuse existing string for new "builddir.level != sourdir.level" warning
* Revert this once string freeze is over!
parent
423686c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qtversionmanager.cpp
View file @
5b728081
...
...
@@ -673,8 +673,12 @@ QtVersion::reportIssues(const QString &proFile, const QString &buildDir)
results
.
append
(
ProjectExplorer
::
Task
(
ProjectExplorer
::
Task
::
Warning
,
msg
,
QString
(),
-
1
,
QLatin1String
(
ProjectExplorer
::
Constants
::
TASK_CATEGORY_BUILDSYSTEM
)));
}
else
if
(
tmpBuildDir
.
count
(
QChar
(
'/'
))
!=
sourcePath
.
count
(
QChar
(
'/'
)))
{
// FIXME: We currently are in string freeze, so I have to reuse some existing text!
// const QString msg = QCoreApplication::translate("Qt4ProjectManager::QtVersion",
// "The build directory needs to be at the same level as the source directory.");
const
QString
msg
=
QCoreApplication
::
translate
(
"Qt4ProjectManager::QtVersion"
,
"The build directory needs to be at the same level as the source directory."
);
"Qmake does not support build directories below the source directory."
);
results
.
append
(
ProjectExplorer
::
Task
(
ProjectExplorer
::
Task
::
Warning
,
msg
,
QString
(),
-
1
,
QLatin1String
(
ProjectExplorer
::
Constants
::
TASK_CATEGORY_BUILDSYSTEM
)));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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