forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user