mirror of
https://gitee.com/drabel/LibQQt.git
synced 2025-01-04 10:18:44 +08:00
19 lines
315 B
C++
19 lines
315 B
C++
#include "mainwindow.h"
|
|
#include <QApplication>
|
|
#include <qqtapplication.h>
|
|
|
|
class MyApp : public QQtApplication
|
|
{
|
|
public:
|
|
explicit MyApp(int &argc, char **argv):QQtApplication(argc, argv){}
|
|
};
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
MyApp a(argc, argv);
|
|
MainWindow w;
|
|
w.show();
|
|
|
|
return a.exec();
|
|
}
|