增加编译指南
This commit is contained in:
parent
44dfdbc2ca
commit
adb201b4c1
|
@ -0,0 +1,16 @@
|
||||||
|
# Dependancy
|
||||||
|
|
||||||
|
Red Panda C++ need Qt 5 (>=5.12) to build.
|
||||||
|
|
||||||
|
# Windows
|
||||||
|
I build Red Panda Cpp with the latest gcc and mingw-w64, distributed by msys2 mingw-w64. Visual C++ and other version of gcc may not work.
|
||||||
|
|
||||||
|
- Install msys2 (https://www.msys2.org)
|
||||||
|
- Use msys2's pacman to install mingw-w64-x86_64-qt5 and mingw-w64-x86_64-gcc
|
||||||
|
- Install qtcreator
|
||||||
|
- Use qtcreator to open Red_Panda_CPP.pro
|
||||||
|
|
||||||
|
# Linux
|
||||||
|
|
||||||
|
- Install gcc and qt5
|
||||||
|
- Use qtcreator to open Red_Panda_CPP.pro
|
|
@ -0,0 +1,19 @@
|
||||||
|
# 依赖
|
||||||
|
|
||||||
|
小熊猫C++需要Qt 5(>=5.12)
|
||||||
|
|
||||||
|
# Windows
|
||||||
|
|
||||||
|
我使用msys2打包的最新版的GCC和MinGW-w64工具链来编译小熊猫C++。VC和其他版本的gcc不一定能够正常编译。
|
||||||
|
|
||||||
|
编译步骤:
|
||||||
|
- 安装msys2 (https://www.msys2.org)
|
||||||
|
- 使用msys2的pacman程序安装mingw-w64-x86_64-qt5和mingw-w64-x86_64-gcc
|
||||||
|
- 安装qtcreator
|
||||||
|
- 使用qtcreator打开Red_Panda_CPP.pro文件
|
||||||
|
|
||||||
|
# Linux
|
||||||
|
|
||||||
|
步骤:
|
||||||
|
- 安装 gcc 和 qt5
|
||||||
|
- 使用qtcreator打开Red_Panda_CPP.pro文件
|
Loading…
Reference in New Issue