QtInputMethod_GooglePinyin/testWindow/main.cpp

14 lines
289 B
C++

#include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
//qputenv("QT_IM_MODULE", QByteArray("tgtsml"));
//qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard"));
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}