forked from qt-creator/qt-creator
Qt4ProjectManager: Omit .pro file warning if that is requested.
Normally, we print a debug message about INSTALLS += var with var.files being empty. Don't do this if var.CONFIG contains "no_check_exist".
This commit is contained in:
@@ -2014,8 +2014,11 @@ void Qt4ProFileNode::setupInstallsList(const ProFileReader *reader)
|
||||
m_installsList.targetPath = itemPath;
|
||||
} else {
|
||||
if (itemFiles.isEmpty()) {
|
||||
qDebug("Ignoring INSTALLS item '%s', because it has no files.",
|
||||
qPrintable(item));
|
||||
if (!reader->values(item + QLatin1String(".CONFIG"))
|
||||
.contains(QLatin1String("no_check_exist"))) {
|
||||
qDebug("Ignoring INSTALLS item '%s', because it has no files.",
|
||||
qPrintable(item));
|
||||
}
|
||||
continue;
|
||||
}
|
||||
m_installsList.items << InstallsItem(itemPath, itemFiles);
|
||||
|
||||
Reference in New Issue
Block a user