行业知识
Qt开发:MAC安装qt、qtcreate(配置桌面应用开发环境)
2026-11-05 11:23:43
来源:互联网转载
安装qt-creator
brew install qt-creator
安装qt
brew install qt
- 查看qtindex.php/tags-98.html" >安装路径
brew info qt
zhb@bindembp ~ % brew info qt ==> qt: stable 6.6.1 (bottled), HEADCross-platform application and UI frameworkhttps://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
选择qt版本、CMake Tool、编译器,如果是m1、m2等系列cpu的macbook,切换arm-darwin-generic-mach_o-64bit为默认再开始设置
创建Qt Quick项目
运行