Mozc is an open-source counterpart of Google Japanese Input, a Japanese input method developed by Google.
Build environment
$ sw_vers
ProductName: macOS
ProductVersion: 12.6.1
BuildVersion: 21G217
$ xcodebuild -version
Xcode 14.1
Build version 14B47b
Build mozc
# Install dependencies
brew install qt@5 bazel packages
# Clone the repository
git clone https://github.com/google/mozc -b master --single-branch --recursive
# Build
cd mozc/src
MOZC_QT_PATH=/usr/local/opt/qt@5 ANDROID_NDK_HOME= bazel build package --config macos -c opt
# Install
open bazel-bin/mac/Mozc.pkg
reboot