Merge branch 'dev' into dev-subscriptions

Former-commit-id: 968e42f200
This commit is contained in:
Leroy.H.Y 2019-08-29 11:27:45 +08:00
commit 9c64ca1c3e
3 changed files with 28 additions and 22 deletions

View File

@ -1,9 +1,9 @@
# Qv2ray [![Codacy Badge](https://api.codacy.com/project/badge/Grade/a034dd186c36408c92ffb04449fb6996)](https://app.codacy.com/app/lhy0403/Qv2ray?utm_source=github.com&utm_medium=referral&utm_content=lhy0403/Qv2ray&utm_campaign=Badge_Grade_Dashboard) [![HitCount](http://hits.dwyl.io/lhy0403/Qv2ray.svg)](http://hits.dwyl.io/lhy0403/Qv2ray)
使用 Qt 的跨平台 v2ray 客户端.
使用 Qt 框架的跨平台 v2ray 客户端. 支持 Windows, Linux, MacOS
## 项目主页地址和使用方法
- https://lhy0403.github.io/Qv2ray
# 项目主页,下载链接和使用方法
- 见 Github Page: https://lhy0403.github.io/Qv2ray
-------------------------
@ -17,23 +17,26 @@ Travis per machine badge provided by: [badge-matrix](https://github.com/exogen/b
----------------
## 编译
- Qt >= 5.12
- gcc >=8 (Linux 需要 c++11 支持) 或 MinGW (Windows) 或 clang (MacOS)
- QtCreator (推荐)
- 如果想测试当前的开发分支,请使用 `git checkout dev` 切换到开发分支
# 开发分支测试
- 如果想测试当前的开发分支,请使用 `git checkout dev` 切换到开发分支
- <span style="color: red">!! 该分支可能不稳定 或 甚至无法正常工作 !!</span>
### Linux & MacOS
## Jenkins (Linux)
[jenkins.himeki.net](https://jenkins.himeki.net/job/Qv2ray/) 编译服务器提供开发分支 `dev` 的二进制编译版本
- 开发分支仅供测试使用
- 提供者 [@aliyuchang33](https://github.com/aliyuchang33)
# 编译
- 依赖项:`Qt >= 5.12` `gcc >=8``MinGW` (Windows) 或 `clang` (MacOS)
- 建议使用 QtCreator
## Linux & MacOS
- 对于 MacOS需要额外使用 HomeBrew 安装 Qt 并正确设定 $PATH 环境变量,或者使用 Qt 官方包 (包含 QtCreator)
- 对于 Linux请根据不同发行版安装对应的 Qt 开发包
```bash
git clone https://github.com/lhy0403/Qv2ray && cd Qv2ray
git clone --recursive https://github.com/lhy0403/Qv2ray && cd Qv2ray
# 按需要签出开发分支
# git checkout dev
@ -44,28 +47,24 @@ qmake ../
make
```
### Windows
## Windows
- 建议使用 Qt Creator
```batch
REM 首先把 %QTROOT%/bin 和 你的 MinGW/bin 文件夹添加到 PATH 里面
REM 示例配置:
REM 首先把 %QTROOT%/bin 和 MinGW/bin 文件夹添加到 PATH 环境变量
REM SET PATH=%PATH%;D:\Qt\5.12.3\mingw73_32\bin\;D:\Qt\Tools\mingw730_32\bin\
SET PATH=%PATH%;Qt安装目录\Qt版本号\编译器类型\bin;Qt安装目录\Tools\编译器类型\bin
git clone https://github.com/lhy0403/Qv2ray && cd Qv2ray
REM 按需要签出开发分支
REM git checkout dev
git clone --recursive https://github.com/lhy0403/Qv2ray && cd Qv2ray
REM git checkout dev (可选项,用于测试 dev 分支)
lrelease ./Qv2ray.pro
mkdir build && cd build
qmake ../
mingw32-make.exe
```
# License
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

View File

@ -1 +1,8 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Categories=Network;Qt;
Icon=Qv2ray
Exec=/opt/Qv2ray/Qv2ray %u
Name=Qv2ray
Comment=Qt cross platform v2ray GUI client

BIN
icons/Qv2ray.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB