OurChat
QT6开发的网络聊天室,模仿QQ微信风格
Install / Use
/learn @flyjay123/OurChatREADME
OurChat
一款基于Qt的网络聊天室,高仿wechat <br>一个自制IM,采用QT6制作客户端,linux C++实现后端。
聊天界面
选择头像

发送表情
构建
Server
- sqlite3作为数据库底层驱动和SQLiteCpp静态库。
cd OurChat/server/thirdparty
git clone git@github.com:SRombauts/SQLiteCpp.git
- nlohmann/json库。
cd OurChat/server/thirdparty
git clone git@github.com:nlohmann/json.git
现在可以开始编译server
cd OurChat/server
mkdir build
cd build
cmake ..
make
./server -s ${IpAddress} -p ${Port}
Client
本项目支持cmake和qmake,采用Qt6开发,使用Qt5构建需要修改部分代码. <br> 以MinGW作为示例: <br> 将 "Qt\Qt6.5.0\Tools\MinGW1120_64\bin" (视Qt版本和MinGW版本而自行更正目录) 添加至环境变量 <br> 定位至CMakeLists.txt line:36, 按自己的编译器路径修改 CMAKE_PREFIX_PATH
cd OurChat\Client
mkdir build
cd build
cmake -G "MinGW Makefiles" ..
mingw32-make.exe
.\OurChat.exe
编译前应当修改Tools\tcpclient.h中m_server与m_port变量,以设置IP与端口号。
Visitor Count
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
