jce-manager/main/main.cpp

19 lines
417 B
C++
Raw Normal View History

2014-06-18 23:44:46 +00:00
#include "mainscreen.h"
#include <QApplication>
2014-06-27 22:22:44 +00:00
#include <QTranslator>
#include <QDebug>
2014-06-18 23:44:46 +00:00
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QTranslator translator;
bool is;
is = translator.load("jce_he.qm", a.applicationDirPath());
qDebug() << " =============== " << is ;
2014-06-27 22:22:44 +00:00
a.installTranslator(&translator);
2014-06-18 23:44:46 +00:00
MainScreen w;
w.show();
return a.exec();
}