Commit 5c145075 authored by dt's avatar dt
Browse files

Remove Debugging output

parent 3f3a36b7
......@@ -127,6 +127,8 @@ protected:
Q_SIGNALS:
void addToTaskWindow(const QString &filename, int type, int linenumber, const QString &description);
// The string is added to the output window
// It should be in html format, that is properly escaped
void addToOutputWindow(const QString &string);
private:
......
......@@ -1304,19 +1304,19 @@ bool Qt4Project::compareBuildConfigurationToImportFrom(BuildConfiguration *confi
QStringList actualArgs = removeSpecFromArgumentList(qs->value(configuration->name(), "qmakeArgs").toStringList());
QStringList parsedArgs = removeSpecFromArgumentList(result.second);
// if (debug) {
if (debug) {
qDebug()<<"Actual args:"<<actualArgs;
qDebug()<<"Parsed args:"<<parsedArgs;
qDebug()<<"Actual spec:"<<actualSpec;
qDebug()<<"Parsed spec:"<<parsedSpec;
// }
}
if (actualArgs == parsedArgs) {
// Specs match exactly
if (actualSpec == parsedSpec)
return true;
// Actual spec is the default one
qDebug()<<"AS vs VS"<<actualSpec<<version->mkspec();
// qDebug()<<"AS vs VS"<<actualSpec<<version->mkspec();
if ((actualSpec == version->mkspec() || actualSpec == "default")
&& (parsedSpec == version->mkspec() || parsedSpec == "default" || parsedSpec.isEmpty()))
return true;
......
......@@ -1057,7 +1057,7 @@ void QtVersion::updateToolChainAndMkspec() const
m_toolChains.clear();
qDebug()<<"Finding mkspec for"<<qmakeCommand();
// qDebug()<<"Finding mkspec for"<<qmakeCommand();
// no .qmake.cache so look at the default mkspec
......@@ -1131,7 +1131,7 @@ void QtVersion::updateToolChainAndMkspec() const
if (mkspec.startsWith(baseMkspecDir)) {
mkspec = mkspec.mid(baseMkspecDir.length() + 1);
qDebug() << "Setting mkspec to"<<mkspec;
// qDebug() << "Setting mkspec to"<<mkspec;
} else {
QString sourceMkSpecPath = sourcePath() + "/mkspecs";
if (mkspec.startsWith(sourceMkSpecPath)) {
......@@ -1143,7 +1143,7 @@ void QtVersion::updateToolChainAndMkspec() const
m_mkspec = mkspec;
qDebug()<<"mkspec for "<<qmakeCommand()<<" is "<<m_mkspec<<m_mkspecFullPath;
// qDebug()<<"mkspec for "<<qmakeCommand()<<" is "<<m_mkspec<<m_mkspecFullPath;
ProFileReader *reader = new ProFileReader();
reader->setQtVersion(this);
......
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