1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00

27 lines
611 B
C++
Raw Normal View History

2017-10-12 16:28:07 +08:00
#include "mainwindow.h"
#include <QApplication>
#include <qqtapplication.h>
#include <qqtframe.h>
#include <QSettings>
2017-11-28 16:38:31 +08:00
#include <qqtcore.h>
2017-10-12 16:28:07 +08:00
class MyApp : public QQtApplication
{
public:
explicit MyApp ( int& argc, char** argv ) : QQtApplication ( argc, argv ) {
QApplication::setOrganizationName ( "qqtframe" );
QApplication::setOrganizationDomain ( "www.qqtframe.com" ); // 专为Mac OS X 准备的
QApplication::setApplicationName ( "QQtFrame" );
2017-10-24 13:52:25 +08:00
}
2017-10-12 16:28:07 +08:00
};
int main ( int argc, char* argv[] )
2017-10-12 16:28:07 +08:00
{
MyApp a ( argc, argv );
2017-11-28 16:38:31 +08:00
2017-10-12 16:28:07 +08:00
MainWindow w;
w.show();
return a.exec();
}