1 Star 0 Fork 11

rtpay / 逐梦通讯客户端代码

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
main.cpp 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
liebao93 提交于 2019-01-31 14:22 . 修正聊天窗口显示bug
#include <QApplication>
#include <QSettings>
#include <QDebug>
#include <QDesktopWidget>
#include <QTextCodec>
#include <QTranslator>
#include <QDir>
#include "global.h"
#include "TopLogin.h"
#include "MyApp.h"
#include "MainWindow.h"
#include "MessageBox.h"
#include "messageitem.h"
#include "LoginAnimationWin.h"
#include "CustomWidget.h"
#include "ChatWin.h"
#include "QQCell.h"
#include "TransFileWgt.h"
#include "CIULog.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));
app.setQuitOnLastWindowClosed(false); //关闭最后一个无父窗口的窗口时程序不会退出
const QString strFileName = QDir::currentPath() + "/Log/" + QDateTime::currentDateTime().toString("yyyy-MM-dd-hhmmss")+QString(".log");
qDebug() << CIULog::Init(false,strFileName);
QTranslator translator;
translator.load(":/myI18N_zh_CN.qm");
app.installTranslator(&translator);
myHelper::setStyle("default");
MyApp::InitApp(app.applicationDirPath());
LoginAnimationWin *w = new LoginAnimationWin;
w->show();
return app.exec();
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/rtpay/Dreamgo.git
git@gitee.com:rtpay/Dreamgo.git
rtpay
Dreamgo
逐梦通讯客户端代码
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891