# gomc-qt5 **Repository Path**: jing18233/gomc-qt5 ## Basic Information - **Project Name**: gomc-qt5 - **Description**: 此程序为go-mc的GUI版本,使用C++ & Qt5编写。cgo通信。 - **Primary Language**: Go - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2020-04-01 - **Last Updated**: 2020-12-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![license](https://img.shields.io/badge/license-MIT-green.svg) [![Build status](https://ci.appveyor.com/api/projects/status/b1if39aag9jyh6x3?svg=true)](https://ci.appveyor.com/project/jing18233/gomc-qt5) [![HitCount](http://hits.dwyl.com/jing332/gomc-qt5.svg)](http://hits.dwyl.com/jing332/gomc-qt5) [![GitHub release (latest by date)](https://img.shields.io/github/v/release/jing332/gomc-qt5.svg)](https://github.com/jing332/gomc-qt5/releases/latest) [![https://img.shields.io](https://img.shields.io/github/downloads/jing332/gomc-qt5/total.svg)](https://github.com/jing332/gomc-qt5/releases) [![https://img.shields.io](https://img.shields.io/github/downloads/jing332/gomc-qt5/latest/total.svg)](https://github.com/jing332/gomc-qt5/releases/latest) # gomc-qt5 此程序为[go-mc](https://github.com/Tnze/go-mc/)的GUI版本,使用C++ & [Qt5](https://www.qt.io/)编写, [cgo](https://godoc.org/cmd/cgo)通信。 # 下载 Release(稳定版): https://github.com/jing332/gomc-qt5/releases/ 最新构建(开发版): https://ci.appveyor.com/project/jing18233/gomc-qt5/build/artifacts # 截图
展开查看(多图警告) ![服务器列表](img/servers.png) ![账户管理](img/accounts.png) ![控制台](img/console.png) ![添加服务器](img/addServer.png) ![添加账户](img/addAccount.png) ![认证服务器管理](img/authenticationServers.png)
# 构建 ### 安装开发环境 `Qt5 (MinGw)` 1. 从 http://download.qt.io/archive/qt/5.14/ 下载对应系统的Qt安装包. 2. 打开Qt安装器, 依次点击 Next, skip, 下一步... 在选择组件窗口中勾选`Qt5.14` -> `MinGw 7.3.0 64Bit`, 点击下一步, 勾选 I have read... 即可开始安装. 3. 安装完成后, 将 `你的Qt安装目录/Tools/mingw730_64/bin/` 添加到系统环境变量PATH中. 使用 `gcc -v` 命令测试是否生效. `Go` 1. 进入Go 下载页面 https://golang.google.cn/dl/ , 点击对应系统链接下载Go安装包. 2. 打开Go安装器, 依次点击next... install, 即可开始安装. 3. 打开命令行, 输入 `go version`, 检查是否安装成功. ### 导入项目 1. 使用命令`git clone https://github.com/jing332/gomc-qt5.git`将本项目克隆到本地. 2. 启动`Qt Creator`, 点击`Open`, 打开项目目录下的`gomc-qt5.pro`文件, 即可导入到IDE中. 3. 在 `项目` -> `Build & Run` -> `MinGw xxx` -> `run` 中新建一条运行配置, 并在 `Executable编辑框` 中填入 `%{CurrentProject:Path}\cgoqt\gomc-qt5.exe`. 4. 最后, 使用快捷键 `Win+R` 运行项目.