Skip to content

Commit

Permalink
Modify documents
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Feb 12, 2025
1 parent 8f73e58 commit b13e472
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/Compile/Linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,17 @@ Prior versions don't have CMake support.
export Qt6_DIR=$QT_ROOT
# When Qt5
export Qt5_DIR=$QT_ROOT
# Needed by complie AppImage

Check failure on line 73 in docs/Compile/Linux.md

View workflow job for this annotation

GitHub Actions / Check for spelling errors

complie ==> compile, complice, complied
export QMAKE=$QT_ROOT/bin/qmake

- CMAKE parameters

# Qt6
cmake -DQT_ROOT=[Qt install root] -DQt6_DIR=[Qt install root] ......
# Qt5
cmake -DQT_ROOT=[Qt install root] -DQt5_DIR=[Qt install root] ......
# Needed by complie AppImage

Check failure on line 82 in docs/Compile/Linux.md

View workflow job for this annotation

GitHub Actions / Check for spelling errors

complie ==> compile, complice, complied
export QMAKE=$QT_ROOT/bin/qmake

- System build-in:
- Qt5:
Expand Down Expand Up @@ -420,7 +424,7 @@ It is depended by PcapPlusPlus

- CMake parameters or environment variable
+ QT_ROOT: Qt install root
+ Qt6_DIR: Is same QT_ROOT
+ Qt6_DIR or Qt5_DIR: Is same QT_ROOT
+ RabbitCommon_ROOT: RabbitCommon source code location
+ BUILD_CLIENT: Compile client. the default is ON
+ BUILD_SERVICE: Compile service. the default dependency is whether there is a QtService
Expand Down
6 changes: 5 additions & 1 deletion docs/Compile/Linux_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,17 @@
export Qt6_DIR=$QT_ROOT
#当使用 Qt5 时
export Qt5_DIR=$QT_ROOT
# 编译 AppImage 需要
export QMAKE=$QT_ROOT/bin/qmake

- CMAKE 参数

#当使用 Qt6 时
cmake -DQT_ROOT=[Qt 安装位置] -DQt6_DIR=[Qt 安装位置] ......
#当使用 Qt5 时
cmake -DQT_ROOT=[Qt 安装位置] -DQt5_DIR=[Qt 安装位置] ......
# 编译 AppImage 需要
export QMAKE=$QT_ROOT/bin/qmake

- 系统自带:
- Qt5:
Expand Down Expand Up @@ -394,7 +398,7 @@ PcapPlusPlus 依赖此库。

- CMake 参数或者环境变量
+ QT_ROOT: Qt 安装位置
+ Qt6_DIR: 与 QT_ROOT 相同
+ Qt6_DIR 或者 Qt5_DIR: 与 QT_ROOT 相同
+ RabbitCommon_ROOT: RabbitCommon 源码位置
+ BUILD_CLIENT: 编译客户端。默认为 ON
+ BUILD_SERVICE: 编译服务器端。默认依赖是否有 QtService
Expand Down

0 comments on commit b13e472

Please sign in to comment.