RedPanda-CPP/BUILD_cn.md

55 lines
825 B
Markdown
Raw Normal View History

2022-02-21 12:01:26 +08:00
# <20><><EFBFBD><EFBFBD>
С<><D0A1>èC++<2B><>ҪQt 5(>=5.12)
# Windows
<20><>ʹ<EFBFBD><CAB9>msys2<73><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>°<EFBFBD><C2B0><EFBFBD>GCC<43><43>MinGW-w64<36><34><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD><D0A1>èC++<2B><>VC<56><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6B1BE>gcc<63><63>һ<EFBFBD><D2BB><EFBFBD>ܹ<EFBFBD><DCB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD>
- <20><>װmsys2 (https://www.msys2.org)
- ʹ<><CAB9>msys2<73><32>pacman<61><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD>װmingw-w64-x86_64-qt5<74><35>mingw-w64-x86_64-gcc
- <20><>װqtcreator
- ʹ<><CAB9>qtcreator<6F><72><EFBFBD><EFBFBD>Red_Panda_CPP.pro<72>ļ<EFBFBD>
# Linux
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
- <20><>װ gcc <20><> qt5<74><35><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ذ<EFBFBD>
- ʹ<><CAB9>qtcreator<6F><72><EFBFBD><EFBFBD>Red_Panda_CPP.pro<72>ļ<EFBFBD>
## Ubuntu
### 1.<2E><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
```text
apt install gcc g++ make gdb gdbserver
```
### 2.<2E><>װQT5<54><35><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
```text
apt install qtbase5-dev qttools5-dev-tools libicu-dev libqt5svg5-dev git qterminal
```
### 3.<2E><><EFBFBD><EFBFBD>Դ<EFBFBD><D4B4>
```
git clone https://gitee.com/royqh1979/RedPanda-CPP.git
```
### 4.<2E><><EFBFBD><EFBFBD>
```
cd cd RedPanda-CPP/
qmake Red_Panda_CPP.pro
make -j8
sudo make install
```
### 5.<2E><><EFBFBD><EFBFBD>
```
RedPandaIDE
```