-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.cpp
More file actions
30 lines (23 loc) · 868 Bytes
/
main.cpp
File metadata and controls
30 lines (23 loc) · 868 Bytes
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
#include <QApplication>
#include <QSplashScreen>
#include "mainwindow.h"
int main(int argc, char *argv[]) {
QApplication app(argc, argv);
// QSplashScreen *splash = new QSplashScreen;
// splash->setPixmap(QPixmap(":/images/splash.png"));
// splash->show();
// Qt::Alignment topRight = Qt::AlignRight | Qt::AlignTop;
// splash->showMessage(QObject::tr("Setting up the main window..."),
// topRight, Qt::white);
MainWindow mainWin;
// splash->showMessage(QObject::tr("Loading modules..."),
// topRight, Qt::white);
// loadModules();
// splash->showMessage(QObject::tr("Establishing connections..."),
// topRight, Qt::white);
// establishConnections();
mainWin.show();
// splash->finish(&mainWin);
// delete splash;
return app.exec();
}