Skip to content

Instantly share code, notes, and snippets.

@oclero
Last active May 26, 2023 09:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oclero/0bff34be8cfbb12a94cabc374ad7e746 to your computer and use it in GitHub Desktop.
Save oclero/0bff34be8cfbb12a94cabc374ad7e746 to your computer and use it in GitHub Desktop.
Useful additions to zshrc
# homebrew
export PATH=$PATH:/opt/Homebrew/bin
# homebrew end
# cmake
export CMAKE_GENERATOR=Ninja
export CMAKE_OSX_ARCHITECTURES=arm64
# cmake end
# qt
export PATH="/opt/homebrew/opt/qt@5/bin:$PATH"
export LDFLAGS="-L/opt/homebrew/opt/qt@5/lib"
export CPPFLAGS="-I/opt/homebrew/opt/qt@5/include"
export CMAKE_PREFIX_PATH=$(brew --prefix)/opt/qt@5/lib/cmake/Qt5
# For pkg-config to find qt you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/qt/lib/pkgconfig"
# qt end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment