Qmake project: HEADERS are not sources

Fine tune the extra compilers support to know that we already show
headers in a separate category. HEADERS is the input to the moc
extra compiler.

Task-number: QTCREATORBUG-11459
Change-Id: I60e9c6b9eb2d55b7a0b02b5f63280b6268c42704
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
Daniel Teske
2014-02-13 12:01:28 +01:00
parent 60ccb25af1
commit 900e6c94d1

View File

@@ -1253,7 +1253,9 @@ QStringList QmakePriFileNode::varNames(ProjectExplorer::FileType type, QtSupport
QStringList inputs = readerExact->values(var + QLatin1String(".input"));
foreach (const QString &input, inputs)
// FORMS and RESOURCES are handled below
if (input != QLatin1String("FORMS") && input != QLatin1String("RESOURCES"))
if (input != QLatin1String("FORMS")
&& input != QLatin1String("RESOURCES")
&& input != QLatin1String("HEADERS"))
vars << input;
}
break;