2018-02-10 17:40:26 +08:00
|
|
|
|
#include "mainwindow.h"
|
2018-02-10 00:32:32 +08:00
|
|
|
|
#include <QApplication>
|
2018-02-10 17:40:26 +08:00
|
|
|
|
#include <qqtwidgets.h>
|
|
|
|
|
#include <qqtapplication.h>
|
2018-02-10 00:32:32 +08:00
|
|
|
|
|
2018-02-10 17:40:26 +08:00
|
|
|
|
int main ( int argc, char* argv[] )
|
2018-02-10 00:32:32 +08:00
|
|
|
|
{
|
2018-02-10 17:40:26 +08:00
|
|
|
|
QQtApplication a ( argc, argv );
|
|
|
|
|
|
2018-02-10 00:32:32 +08:00
|
|
|
|
MainWindow w;
|
|
|
|
|
w.show();
|
2018-02-12 16:58:34 +08:00
|
|
|
|
|
|
|
|
|
#ifdef __ANDROID__
|
2018-02-10 19:11:01 +08:00
|
|
|
|
w.showMaximized();
|
2018-02-12 16:58:34 +08:00
|
|
|
|
#endif
|
2018-02-10 00:32:32 +08:00
|
|
|
|
|
|
|
|
|
return a.exec();
|
|
|
|
|
}
|