Skip to content
Snippets Groups Projects
Commit f1009fc6 authored by dt's avatar dt
Browse files

Less debugging output

parent 15471e64
No related merge requests found
...@@ -1113,16 +1113,12 @@ QStringList Qt4Project::removeSpecFromArgumentList(const QStringList &old) ...@@ -1113,16 +1113,12 @@ QStringList Qt4Project::removeSpecFromArgumentList(const QStringList &old)
QStringList newList; QStringList newList;
bool ignoreNext = false; bool ignoreNext = false;
foreach(const QString &item, old) { foreach(const QString &item, old) {
qDebug()<<"Item:"<<item;
if (ignoreNext) { if (ignoreNext) {
qDebug()<<"ignored (2)";
ignoreNext = false; ignoreNext = false;
} else if (item == "-spec" || item == "-platform" || item == "-cache") { } else if (item == "-spec" || item == "-platform" || item == "-cache") {
ignoreNext = true; ignoreNext = true;
qDebug()<<"ignored (1)";
} else { } else {
newList << item; newList << item;
qDebug()<<"added";
} }
} }
return newList; return newList;
...@@ -1180,9 +1176,7 @@ bool Qt4Project::compareBuildConfigurationToImportFrom(const QString &buildConfi ...@@ -1180,9 +1176,7 @@ bool Qt4Project::compareBuildConfigurationToImportFrom(const QString &buildConfi
if (QFileInfo(parsedSpec).isRelative()) if (QFileInfo(parsedSpec).isRelative())
parsedSpec = QDir::cleanPath(workingDirectory + "/" + parsedSpec); parsedSpec = QDir::cleanPath(workingDirectory + "/" + parsedSpec);
qDebug()<<"before:"<<qmakeStep()->value(buildConfiguration, "qmakeArgs").toStringList();
QStringList actualArgs = removeSpecFromArgumentList(qmakeStep()->value(buildConfiguration, "qmakeArgs").toStringList()); QStringList actualArgs = removeSpecFromArgumentList(qmakeStep()->value(buildConfiguration, "qmakeArgs").toStringList());
qDebug()<<"after:"<<actualArgs;
QStringList parsedArgs = removeSpecFromArgumentList(result.second); QStringList parsedArgs = removeSpecFromArgumentList(result.second);
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment