Score
0
Watch 76 Star 200 Fork 80

浓咖啡 / QtOpenUtilsC++LGPL-2.1

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
main.cpp 408 Bytes
Copy Edit Web IDE Raw Blame History
guofeng authored 2019-04-15 14:32 . 移除无用代码
#include "mainwindow.h"
#include <QTextCodec>
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QTextCodec *codec = QTextCodec::codecForName("UTF-8");
QTextCodec::setCodecForLocale(codec);
#ifndef QT_GREATER_NEW
QTextCodec::setCodecForCStrings(codec);
QTextCodec::setCodecForTr(codec);
#endif
MainWindow w;
w.show();
return a.exec();
}

Comment ( 0 )

Sign in for post a comment