103 Star 332 Fork 145

浓咖啡 / QtOpenUtils

Create your Gitee Account
Explore and code with more than 8 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 to post a comment

C++
1
https://git.oschina.net/coffeeLVeris/qt_open_icon.git
git@git.oschina.net:coffeeLVeris/qt_open_icon.git
coffeeLVeris
qt_open_icon
QtOpenUtils
master

Search

103111 552b83b3 1850385 103110 ed87a847 1850385