-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.cpp
29 lines (26 loc) · 846 Bytes
/
main.cpp
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
// ******************************************************
// * copyright (C) 2017 by Reinhardt Behm/[email protected]
// * All Rights reserved
// * created 11/28/2017 by behm
// ******************************************************
#include "mainwindow.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
app.setApplicationName("model-builder");
app.setApplicationVersion("V1.3");
app.setOrganizationDomain("avioscout.net");
app.setOrganizationName("R.Behm");
{
QCommandLineParser parser;
parser.setApplicationDescription(app.applicationName());
parser.addHelpOption();
parser.addVersionOption();
// QCommandLineOption nameOption(QStringList() << "n" << "name", "Name of CommServer ", "gps", "gps");
// parser.addOption(nameOption);
parser.process(app);
}
MainWindow mw;
mw.show();
return app.exec();
}