-
Notifications
You must be signed in to change notification settings - Fork 259
/
Copy pathmain.cpp
41 lines (37 loc) · 1.51 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
/****************************************************************************
**
** Copyright (C) 2014 dragondjf
**
** QFramer is a frame based on Qt5.3, you will be more efficient with it.
** As an Qter, Qt give us a nice coding experience. With user interactive experience(UE)
** become more and more important in modern software, deveployers should consider business and UE.
** So, QFramer is born. QFramer's goal is to be a mature solution
** which you only need to be focus on your business but UE for all Qters.
**
** Version : 0.2.5.0
** Author : dragondjf
** Website : https://github.com/dragondjf
** Project : https://github.com/dragondjf/QCFramer
** Blog : http://my.oschina.net/dragondjf/home/?ft=atme
** Wiki : https://github.com/dragondjf/QCFramer/wiki
** Lincence: LGPL V2
** QQ: 465398889
**
****************************************************************************/
#include "QFramer/futil.h"
#include "mainwindow/mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
// qInstallMessageHandler(myMessageOutput);
QApplication app(argc, argv);
QApplication::setOrganizationName("DJF");
QApplication::setOrganizationDomain("https://github.com/dragondjf");
QApplication::setApplicationName("QFramer");
QApplication::setWindowIcon(QIcon(":/images/skin/images/QFramer.ico"));
MainWindow *main = MainWindow::getInstance();
main->setAttribute(Qt::WA_DeleteOnClose);
main->show();
return app.exec();
}