Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 972 Bytes

File metadata and controls

46 lines (37 loc) · 972 Bytes

macOS Development Guide

This development guide is written for Mogan Research. Other components can also refer to this guide.

Step 1: Install xmake and xrepo

For Homebrew users:

brew install xmake qt
brew install pkg-config

Keep xrepo updated:

xrepo update-repo

Step 2: Configuration

xmake config -vD --yes 

If you encounter Qt dependency issues, you can use this command to delete xmake's Qt global cache:

rm -rf ~/.xmake/cache ~/.xmake/packages/qt

If Qt cannot be found, you can manually specify the Qt path, for example:

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

xmake build stem

Step 4: Testing

Refer to How to Test

Step 5: Launch Mogan STEM

xmake run stem

Please format code before committing

Formatting Guide