deep-wine-runner/VM-source/main.cpp

20 lines
361 B
C++
Raw Normal View History

2022-07-12 20:37:59 +08:00
#include "mainwindow.h"
#include <QApplication>
2022-08-24 16:13:47 +08:00
#include <QTranslator>
#include <QCoreApplication>
2022-07-12 20:37:59 +08:00
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
2022-08-24 16:13:47 +08:00
// 语言
QTranslator *trans = new QTranslator(&a);
trans->load("virtualmachine-en_US.qm");
a.installTranslator(trans);
2022-07-12 20:37:59 +08:00
MainWindow w;
2022-08-24 16:13:47 +08:00
2022-07-12 20:37:59 +08:00
w.show();
return a.exec();
}