Example #1
0
int main(int argc, char *argv[])
{
	QApplication a(argc, argv);
	UdpClient w;
	w.show();
	return a.exec();
}
Example #2
0
File: main.cpp Project: GieYan/QT
int main( int argc, char **argv )
{
    QFont font("ZYSong18030",12);
    QApplication::setFont(font);
    	
    QApplication a( argc, argv );
    QTranslator translator(0);
    translator.load("udpclient_zh",".");
    a.installTranslator(&translator);    
    
    UdpClient *udpclient = new UdpClient();
    udpclient->show();
    return a.exec();
}