技术栈

Qt源码编译记录

风闲12172025-11-19 23:15

M2 cpu的mac下编译Qt5.1.5.18源码

复制代码
./configure -prefix /Users/desDir/Qt5.15.18 -release -opensource -nomake tests -confirm-license -skip qtlocation -skip qtwebengine -no-framework
gmake -j16
gmake install

这里不编译qtlocation 和qtwebengine 这2个模块,同时根据./configure之后的提示,用的是gmake编译,而不是make指令,若没有gmake指令,可以用brew指令安装下。

上一篇:linux上redis升级
下一篇:C++中的适配器模式
相关推荐
用户80553369803
3 天前
不止三件套:QObject 属性系统全关键字与运行时反射!
c++·qt
xcyxiner
3 天前
DicomViewer (vcpkg Windows和ubuntu编译)7
qt
Quz
8 天前
QML Hello World 入门示例
qt
xcyxiner
11 天前
DicomViewer (dcmtk读取dcm文件)5
qt
xcyxiner
11 天前
DicomViewer (后台线程处理文件)4
qt
xcyxiner
12 天前
DicomViewer (添加模型类)3
qt
xcyxiner
12 天前
DicomViewer (目录调整) 2
qt
xcyxiner
12 天前
dcmtk vtk vtk-dicom(gdcm) 编译(debug) v2
qt
LDR006
14 天前
Type-C 快充全面升级!LDR6601 赋能个人护理便携电机,重塑剃须刀 / 理发器新体验
c语言·开发语言
雪碧聊技术
14 天前
Tree.js是什么?一文讲透
开发语言·javascript·ecmascript
热门推荐
012026 年 AI 编程工具终极横评:Cursor vs Claude Code vs Copilot vs Windsurf022026年6月AI大模型全景报告:GPT-5.6、Claude Opus 4.8、Gemini 3.5,中美AI三足鼎立谁主沉浮?032026年6月AI行业全景:从百模大战到Agent元年,这30天发生了什么?04GitHub 镜像站点05Trae国际版与国内版深度测评:AI原生IDE的双生花06【AI】2026 年具身智能模型和世界模型总结07Claude Code、Codex、Cursor三分天下:2026年AI编程Agent生态全景剖析08飞书长连接_事件订阅(接收消息,审批任务状态变更)092026 AI 编程工具终极实战指南:Cursor vs Claude Code vs Copilot,开发者该怎么选?102026年AI架构实战:彻底解决OpenAI接口超时与封号,Python调用GPT-5.2/Sora2企业级架构详解(附源码+压测报告)