GithubHelp home page GithubHelp logo

-qq-qt5's Introduction

使用Qt5开发的一个C/S架构多线程仿QQ聊天软件

开发环境

Windows + Qt 5.14.2 MinGW 64-bit

主要内容

使用Qt完成了一个C/S架构的多线程仿QQ聊天软件,客户端使用Json格式向服务器端发送数据包,在每个数据包前添加包头以识别该数据包的操作类型和有效数据大小,服务器端负责读写套接字的线程接收数据后将数据包传给工作线程处理,处理完毕后再将处理结果发送回客户端或转发信息给其他客户端并将用户更改资料和添加好友的操作内容保存在MySql数据库中,客户端之间通过服务器转发来相互聊天或转发图片文件等操作

已实现功能:

  • 掉线自动重连
  • 注册及找回密码功能
  • 仿QQ的用户登录界面,保存账号,记住密码
  • 更换头像,更改个人昵称,签名和其他个人资料
  • 查看好友个人资料,移动好友到其他分组,添加好友,删除好友
  • 添加好友分组,更改分组名,删除分组
  • 发送消息,发送普通图片和Gif图片,发送大文件

项目介绍

1.登录界面

1

2.注册账号及找回密码界面

2 3

3.掉线,重复登录及密码错误

5 4 6

4.保存账号

7

5.好友列表

9 10 17

6.个人资料

11 12 13

7.添加好友

14 15 16

8.聊天及收发文件

18 19 20 21 22 23

-qq-qt5's People

Contributors

fantasy714 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.