houxiao
2016-12-16 a46c525446b64fb43c850d8b3dfdb77bdf81c1c0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <QtGui/QApplication>
#include <QTextCodec>
 
#include "cconfigureparams.h"
 
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QTextCodec::setCodecForTr(QTextCodec::codecForName("GB2312"));
    QTextCodec::setCodecForLocale(QTextCodec::codecForName("GB2312"));
    QTextCodec::setCodecForCStrings(QTextCodec::codecForName("GB2312"));
    CConfigureParams w;
    //w.setGeometry(100, 100, 832, 610);
    w.show();
    w.showLoginBtn();
 
    return a.exec();
}