summaryrefslogtreecommitdiff
path: root/src/plugins/qtsupport/qscxmlcgenerator.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2016-03-07 09:58:34 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2016-03-07 16:55:07 +0000
commitc84eb2d03e6bc25e2498ad4de3e3e0ba19128d9b (patch)
treeb8db7e7d7527a50f54c243f2f8cebe181c6077a7 /src/plugins/qtsupport/qscxmlcgenerator.cpp
parent92e301a054ad8c07fa4656d9671689aa0fdeadd0 (diff)
downloadqt-creator-c84eb2d03e6bc25e2498ad4de3e3e0ba19128d9b.tar.gz
QScxmlcGenerator: Adapt to new command line arguments
Change-Id: I7a8d786002ff8f07fff183fbd01bbaa8a367a20d Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
Diffstat (limited to 'src/plugins/qtsupport/qscxmlcgenerator.cpp')
-rw-r--r--src/plugins/qtsupport/qscxmlcgenerator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qtsupport/qscxmlcgenerator.cpp b/src/plugins/qtsupport/qscxmlcgenerator.cpp
index 9d0cc258ba..41765428ce 100644
--- a/src/plugins/qtsupport/qscxmlcgenerator.cpp
+++ b/src/plugins/qtsupport/qscxmlcgenerator.cpp
@@ -114,8 +114,8 @@ void QScxmlcGenerator::run(const QByteArray &sourceContent)
<< sourceContent.size() << " bytes";
m_process.start(generator, QStringList({
- QLatin1String("-oh"), m_tmpdir.path() + QLatin1Char('/') + targets()[0].fileName(),
- QLatin1String("-ocpp"), m_tmpdir.path() + QLatin1Char('/') + targets()[1].fileName(),
+ QLatin1String("--header"), m_tmpdir.path() + QLatin1Char('/') + targets()[0].fileName(),
+ QLatin1String("--impl"), m_tmpdir.path() + QLatin1Char('/') + targets()[1].fileName(),
input.fileName()}));
}