summaryrefslogtreecommitdiffstats
path: root/tools/qscxmlc/main.cpp
blob: 9e09dbff53d005a533bc89f6d7e4c667e36903e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#include <QtScxml/qscxmltabledata.h>
#include "qscxmlc.h"

#include <QCoreApplication>
#include <QStringList>

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    a.setApplicationVersion(QString::fromLatin1("%1 (Qt %2)").arg(
                            QString::number(Q_QSCXMLC_OUTPUT_REVISION),
                            QString::fromLatin1(QT_VERSION_STR)));
    return run(QCoreApplication::arguments());
}