https://github.com/wineee/simple-chat
[一个聊天软件Demo] a chat software powered by libevent/mysql and qt
https://github.com/wineee/simple-chat
chat libevent mysql qt5
Last synced: 8 months ago
JSON representation
[一个聊天软件Demo] a chat software powered by libevent/mysql and qt
- Host: GitHub
- URL: https://github.com/wineee/simple-chat
- Owner: wineee
- License: gpl-3.0
- Created: 2021-04-19T13:18:27.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-10T17:05:17.000Z (almost 5 years ago)
- Last Synced: 2025-04-04T00:05:09.652Z (about 1 year ago)
- Topics: chat, libevent, mysql, qt5
- Language: C++
- Homepage:
- Size: 4.2 MB
- Stars: 11
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# simple-chat
## Yet another Chat software, support private chat and group chat, based on libevent
## 客户端
> 使用 Qt 5.15,理论上在 linux 和 windows 下都可以编译运行
#### 注册界面

#### 登录界面

#### 私聊

#### 群聊

#### 传文件

参考资料(事实上参考资料的界面更完善):[Fdog系列(四):使用Qt框架模仿QQ实现登录界面,界面篇](https://blog.csdn.net/Fdog_/article/details/115864249)
[QtQQ](https://github.com/Blackmamba-xuan/QtQQ)
## 服务端
> 使用阿里云 Ubuntu 20.04.2 系统
需要安装 libevent jsoncpp mysql
```bash
apt-get install libevent-dev libjsoncpp-dev
apt-get install mysql-server mysql-client libmysqlclient-dev
```
[阿里云添加安全组规则](https://www.jb51.net/article/190342.htm)
---
参考教程:https://www.bilibili.com/video/BV19U4y1p7pT
### [放上一点可供参考的笔记](https://github.com/wineee/simple-chat/blob/main/libevent.md)
> *虽然还有很多不完善的地方,比如客户端存储记录等等,不过主要思路已经实现了,以后可能不会积极更新*