QtSupport: Support qscxmlc as extra compiler

Change-Id: Ief4810abe46ce4654f518781ce377e10a8e38ad4
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2016-01-15 16:58:22 +01:00
parent 2e3e060520
commit 2b48a4fa27
7 changed files with 207 additions and 4 deletions

View File

@@ -656,6 +656,11 @@ QStringList CMakeProject::filesGeneratedFrom(const QString &sourceFile) const
generatedFilePath += fi.completeBaseName();
generatedFilePath += QLatin1String(".h");
return QStringList(QDir::cleanPath(generatedFilePath));
} else if (fi.suffix() == QLatin1String("scxml")) {
generatedFilePath += QLatin1String("/");
generatedFilePath += QDir::cleanPath(fi.completeBaseName());
return QStringList({generatedFilePath + QLatin1String(".h"),
generatedFilePath + QLatin1String(".cpp")});
} else {
// TODO: Other types will be added when adapters for their compilers become available.
return QStringList();