Example #1
0
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
    MainFrame w;
    a.setApplicationName("FireDetection");
    a.setApplicationVersion("V201509");


    w.show();
    w.setGeometry(qApp->desktop()->availableGeometry());//全屏运行
    
    return a.exec();
}