Well, since we have database on the same computer as game server, could remove caching, but I just set expiration time to 10 minutes
#include <QtGui/QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}