Robert Phillips | a6d2d70 | 2017-09-01 12:17:03 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2017 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
| 8 | #include <QtWidgets> |
| 9 | |
| 10 | #include "mainwindow.h" |
| 11 | |
| 12 | int main(int argc, char *argv[]) |
| 13 | { |
| 14 | QApplication app(argc, argv); |
| 15 | QCoreApplication::setOrganizationName("Google"); |
| 16 | QCoreApplication::setApplicationName("MDB Viz"); |
| 17 | QCoreApplication::setApplicationVersion("0.0"); |
| 18 | |
| 19 | QCommandLineParser parser; |
| 20 | parser.setApplicationDescription(QCoreApplication::applicationName()); |
| 21 | parser.addVersionOption(); |
| 22 | parser.process(app); |
| 23 | |
| 24 | MainWindow mainWin; |
| 25 | mainWin.show(); |
| 26 | |
| 27 | return app.exec(); |
| 28 | } |
| 29 | |
| 30 | |