Remove annoying warnings when loading Creator master.

The proper fix would be to support the QMAKE_SUBSTITUTES variable.
This commit is contained in:
Christian Kandeler
2010-12-16 14:46:24 +01:00
parent 6445ffc489
commit c3fe628dc9

View File

@@ -2092,11 +2092,12 @@ void Qt4ProFileNode::setupInstallsList(const ProFileReader *reader)
m_installsList.targetPath = itemPath;
} else {
if (itemFiles.isEmpty()) {
if (!reader->values(item + QLatin1String(".CONFIG"))
.contains(QLatin1String("no_check_exist"))) {
qDebug("%s: Ignoring INSTALLS item '%s', because it has no files.",
qPrintable(m_projectFilePath), qPrintable(item));
}
// TODO: Fix QMAKE_SUBSTITUTES handling in pro file reader, then uncomment again
// if (!reader->values(item + QLatin1String(".CONFIG"))
// .contains(QLatin1String("no_check_exist"))) {
// qDebug("%s: Ignoring INSTALLS item '%s', because it has no files.",
// qPrintable(m_projectFilePath), qPrintable(item));
// }
continue;
}
m_installsList.items << InstallsItem(itemPath, itemFiles);