2 #include <qapplication.h>
5 #include <qtextcodec.h>
6 #include <qtranslator.h>
8 #include "mainwindow.h"
10 int main(int argc, char *argv[])
12 QApplication a(argc, argv);
13 //a.setFont(QFont("helvetica", 12));
14 //QTranslator tor( 0 );
15 // set the location where your .qm files are in load() below as the last parameter instead of "."
16 // for development, use "/" to use the english original as
17 // .qm files are stored in the base project directory.
18 //tor.load( QString("|.") + QTextCodec::locale(), "." );
19 //a.installTranslator( &tor );
20 /* uncomment the following line, if you want a Windows 95 look*/
21 // a.setStyle(WindowsStyle);
23 MainWindow* mw=new MainWindow();