Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions devel/Develop_on_Windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions devel/Develop_on_macOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,44 @@ 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
```

## Step 4: Testing
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)
[Formatting Guide](Format_EN.md)