This development guide is written for Mogan Research. Other components can also refer to this guide.
For Homebrew users:
brew install xmake qt
brew install pkg-configKeep xrepo updated:
xrepo update-repoxmake 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/qtIf Qt cannot be found, you can manually specify the Qt path, for example:
xmake config --qt=/opt/homebrew/share/qtPlease adjust the Qt-related directory as needed; it may not necessarily be /opt/homebrew/share/qt.
xmake build stemRefer to How to Test
xmake run stem