macOS 中安装和配置 Qt 开发环境
介绍如何在 macOS 下使用 Qt Creator + Qt 进行开发。
环境
macOS 版本: macOS 12.3.1
Qt 版本:Qt 5
Shell 版本:Zsh
安装相应工具
# 安装 Qt Creator
brew install --cask qt-creator
# 这里安装 Qt5,如果想要安装最新版本的 Qt 使用 qt 替换 qt@5
brew install qt@5
配置 Zsh
在 ~/.zshrc 中添加如下配置:
export PATH="/usr/...
tomshine.hashnode.dev1 min read