diff options
Diffstat (limited to 'tools/mdbviz/main.cpp')
-rw-r--r-- | tools/mdbviz/main.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tools/mdbviz/main.cpp b/tools/mdbviz/main.cpp new file mode 100644 index 0000000000..42abc2a7d8 --- /dev/null +++ b/tools/mdbviz/main.cpp @@ -0,0 +1,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(); +} + + |