Step 1: clone repo
% git clone https://github.com/Gnurou/tagainijishoStep 2: install dependencies (get homebrew if you don't have it, see more info at https://brew.sh/)
% brew install cmake
% brew install qt@5- add qt 5 to path:
export PATH="/opt/homebrew/opt/qt@5/bin:$PATH"- you may also add the above line to
.zshrcto make it permanent, if you desire to build qt 5 applications in the future
Step 3: edit the line in CMakeLists.txt (in your git-cloned folder)
from set(CMAKE_OSX_DEPLOYMENT_TARGET "10.6") to set(CMAKE_OSX_DEPLOYMENT_TARGET "11.0")
- here you are setting the OSX target to at least 11.0, adjust as necessary depending on your requirements
follow steps outlined in the git repo README.md file
make and build
% cd $PROJECT
% mkdir build && cd buildconfig
% cmake -DCMAKE_INSTALL_PREFIX=$HOME/Applications -DEMBED_SQLITE=1 ..build
% makeInstall (application bundle will be installed to $HOME/Applications):
% make installStep 4: create a self-signed certificate in the Keychain Access app. Give the profile code-signing permissions (get info -> trust -> set "Code signing" to "always trust"
Step 5: go to your application directory
% cd $HOME/ApplicationsStep 6: codesign it!
% sudo codesign --force --deep -s <certName> Tagaini\ Jisho.app(certName is the name of the certificate you created in step 4)
Step 7: run it! Enjoy your journey of Japanese learning!