diff --git a/devel/Develop_on_Windows.md b/devel/Develop_on_Windows.md index 353b90613f..f328898b72 100644 --- a/devel/Develop_on_Windows.md +++ b/devel/Develop_on_Windows.md @@ -21,14 +21,14 @@ - **chocolatey**: ```powershell - choco install xmake + choco install xmake ``` - Verify: ```powershell xmake --version ``` ## Step 2: Get Source Code, Compile and Run -### Chose your working directory, for example E:\TestFile: +### Choose your working directory, for example E:\TestFile: ```powershell cd E:\TestFile diff --git a/devel/Develop_on_macOS.md b/devel/Develop_on_macOS.md index c0087cedbb..8efc088670 100644 --- a/devel/Develop_on_macOS.md +++ b/devel/Develop_on_macOS.md @@ -3,34 +3,34 @@ This development guide is written for Mogan Research. Other components can also ## Step 1: Install xmake and xrepo For Homebrew users: -``` bash +```bash brew install xmake qt brew install pkg-config ``` Keep xrepo updated: -``` bash +```bash xrepo update-repo ``` ## Step 2: Configuration -``` bash +```bash xmake config -vD --yes ``` If you encounter Qt dependency issues, you can use this command to delete xmake's Qt global cache: -``` bash +```bash rm -rf ~/.xmake/cache ~/.xmake/packages/qt ``` If Qt cannot be found, you can manually specify the Qt path, for example: -``` bash +```bash xmake config --qt=/opt/homebrew/share/qt ``` Please adjust the Qt-related directory as needed; it may not necessarily be `/opt/homebrew/share/qt`. ## Step 3: Build -``` bash +```bash xmake build stem ``` @@ -38,9 +38,9 @@ xmake build stem Refer to [How to Test](Test_EN.md) ## Step 5: Launch Mogan STEM -``` bash +```bash xmake run stem ``` ## Please format code before committing -[Formatting Guide](Format_EN.md) \ No newline at end of file +[Formatting Guide](Format_EN.md)