Qt开发:MAC安装qt、qtcreate(配置桌面应用开发环境
2024-02-22 本文已影响0人
ArslanRobot
安装qt-creator
brew install qt-creator
安装qt
brew install qt
- 查看qt安装路径
brew info qt
zhb@bindembp ~ % brew info qt
==> qt: stable 6.6.1 (bottled), HEAD
Cross-platform application and UI framework
https://www.qt.io/
/opt/homebrew/Cellar/qt/6.6.1 (14,396 files, 623.5MB) *
/opt/homebrew/Cellar/qt/6.6.1就是qt安装路径
配置qt-creator
添加时选择[qt安装目录]/bin/qmake
iShot_2024-02-23_05.36.01.jpg
选择qt版本、CMake Tool、编译器,如果是m1、m2等系列cpu的macbook,切换arm-darwin-generic-mach_o-64bit为默认再开始设置
iShot_2024-02-23_05.39.48.jpg