main.cpp
420 Bytes
#include "mainwindow.h"
#include <QApplication>
#include "myinputpanelcontext.h"
#include <QWSServer>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MyInputPanelContext *ic = new MyInputPanelContext;
a.setInputContext(ic);
MainWindow w;
// QApplication::setOverrideCursor(Qt::BlankCursor);
// w.show();
// 全屏显示
w.showFullScreen();
return a.exec();
}