aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/mdbviz/main.cpp
blob: 42abc2a7d82f34b108718893db8f1252542bcdd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Copyright 2017 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include <QtWidgets>

#include "mainwindow.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    QCoreApplication::setOrganizationName("Google");
    QCoreApplication::setApplicationName("MDB Viz");
    QCoreApplication::setApplicationVersion("0.0");

    QCommandLineParser parser;
    parser.setApplicationDescription(QCoreApplication::applicationName());
    parser.addVersionOption();
    parser.process(app);

    MainWindow mainWin;
    mainWin.show();

    return app.exec();
}