For Homebrew:
brew install xmake qt
brew install pkg-config
Sometimes, we need the latest xrepo:
xrepo update-repo
Sometimes we need to use the newest version xmake to build. It is a problem in xmake 2.8.3, and it should not happen in the future version of xmake.
You can use
xmake update -s dev
to update xmake version.
xmake config --yes -c --qt=/opt/homebrew/share/qt/
The Qt Dir might not be /opt/homebrew/share/qt
, please adjust it if needed.
xmake build research
See How to test。
xmake run research