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

27 lines
619 B
C++

#include "mainwindow.h"
#include <QQtApplication>
#include <qqtapplication.h>
#include <qqtframe.h>
#include <QSettings>
#include <qqtcore.h>
class MyApp : public QQtApplication
{
public:
explicit MyApp ( int& argc, char** argv ) : QQtApplication ( argc, argv ) {
QQtApplication::setOrganizationName ( "qqtframe" );
QQtApplication::setOrganizationDomain ( "www.qqtframe.com" ); // 专为Mac OS X 准备的
QQtApplication::setApplicationName ( "QQtFrame" );
}
};
int main ( int argc, char* argv[] )
{
MyApp a ( argc, argv );
MainWindow w;
w.show();
return a.exec();
}