-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
23 lines (22 loc) · 703 Bytes
/
main.cpp
File metadata and controls
23 lines (22 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
* @file main.cpp
* \brief The main file
*
* This file contais the main() fuction of this application. Basically the code here just creates a MainWindow object and shows it.
* @author Plinio Andrade <PAndrade@fele.com>
* @version 1.0.0.0 (Qt: 5.3.1)
*/
#include <QApplication>
#include "version.h"
#include "mainwindow.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
app.setApplicationName(VER_FILEDESCRIPTION_STR);
app.setOrganizationName(VER_COMPANYNAME_STR);
app.setOrganizationDomain(VER_COMPANYDOMAIN_STR);
app.setQuitOnLastWindowClosed(true);
MainWindow mainWindow;
mainWindow.show();
exit(app.exec());
}