mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-13 01:58:27 +08:00
20 lines
361 B
C++
Executable File
20 lines
361 B
C++
Executable File
#include "mainwindow.h"
|
|
#include <QApplication>
|
|
#include <QTranslator>
|
|
#include <QCoreApplication>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QApplication a(argc, argv);
|
|
// 语言
|
|
QTranslator *trans = new QTranslator(&a);
|
|
trans->load("virtualmachine-en_US.qm");
|
|
|
|
a.installTranslator(trans);
|
|
MainWindow w;
|
|
|
|
w.show();
|
|
|
|
return a.exec();
|
|
}
|