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
Tobias Hunger
qt-creator
Commits
f1009fc6
Commit
f1009fc6
authored
Jul 24, 2009
by
dt
Browse files
Less debugging output
parent
15471e64
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt4project.cpp
View file @
f1009fc6
...
...
@@ -1113,16 +1113,12 @@ QStringList Qt4Project::removeSpecFromArgumentList(const QStringList &old)
QStringList
newList
;
bool
ignoreNext
=
false
;
foreach
(
const
QString
&
item
,
old
)
{
qDebug
()
<<
"Item:"
<<
item
;
if
(
ignoreNext
)
{
qDebug
()
<<
"ignored (2)"
;
ignoreNext
=
false
;
}
else
if
(
item
==
"-spec"
||
item
==
"-platform"
||
item
==
"-cache"
)
{
ignoreNext
=
true
;
qDebug
()
<<
"ignored (1)"
;
}
else
{
newList
<<
item
;
qDebug
()
<<
"added"
;
}
}
return
newList
;
...
...
@@ -1180,9 +1176,7 @@ bool Qt4Project::compareBuildConfigurationToImportFrom(const QString &buildConfi
if
(
QFileInfo
(
parsedSpec
).
isRelative
())
parsedSpec
=
QDir
::
cleanPath
(
workingDirectory
+
"/"
+
parsedSpec
);
qDebug
()
<<
"before:"
<<
qmakeStep
()
->
value
(
buildConfiguration
,
"qmakeArgs"
).
toStringList
();
QStringList
actualArgs
=
removeSpecFromArgumentList
(
qmakeStep
()
->
value
(
buildConfiguration
,
"qmakeArgs"
).
toStringList
());
qDebug
()
<<
"after:"
<<
actualArgs
;
QStringList
parsedArgs
=
removeSpecFromArgumentList
(
result
.
second
);
#ifdef Q_OS_WIN
...
...
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