int main(int argc, char** argv) { QApplication app(argc, argv); Updater updater; if (argc != 3) return 1; updater.show(); return app.exec(); }
int main(int argc, char* argv[]) { QApplication app(argc, argv); QTranslator translator; translator.load(":/translation/qt_fr"); app.installTranslator(&translator); Updater up; up.show(); return app.exec(); }