MACOS X QT部署
来源:互联网 发布:mac双系统开机默认 编辑:程序博客网 时间:2024/05/18 01:06
安装顺序:
先CLT,command Line Tools,后XCode, 最后QT Clang
如果顺序有无,参考如下解决:
https://stackoverflow.com/questions/26320677/error-could-not-resolve-sdk-path-for-macosx10-8
Error: Could not resolve SDK path for 'macosx10.8'
The problem is that the online installer for Qt currently supports OSX 10.8 (Mountain Lion) by default, and I'm guessing you are on 10.9 (Mavericks) or greater.
There is a workaround:
- Navigate to where you installed Qt (default /Users/your username/Qt) using finder
- Go to the subdirectory 5.3/clang_64/mkspecs directory
- Open the file called qdevice.pri with a text editor
- Change the line
!host_build:QMAKE_MAC_SDK = macosx10.8
to:!host_build:QMAKE_MAC_SDK = macosx10.9
if you are on OS X 10.9 (Mavericks), or!host_build:QMAKE_MAC_SDK = macosx
if you are on OS X 10.10 (Yosemite)
- Save the file and restart Qt Creator
down vote
I'm running Qt 5.7.1 on Mac OS 10.12.2.
None of the above answers involving adding !host_build:QMAKE_MAC_SDK = macosx10.12
to a file worked for me.
What did work was a small reconfigure on the XCode side of things as described here, the key step being entering
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
in the command line.
What caused the problem for me was that I installed the XCode command line tools before installing XCode itself which apparently makes it hard for Qt to find the Mac OS SDK.
- MACOS X QT部署
- Qt 5.x 应用程序 Windows 部署方法
- Qt 5.x 应用程序 Windows 部署方法
- MacOS X 安装 Mysql
- MacOS X服务管理
- MacOS X编译OpenSceneGraph
- macos X 使用小技巧
- MacOS X 国际化学习笔记
- MacOS X 10.10卸载Node
- OS X QT App redistributable bundle 部署教程
- macos下vim及插件部署
- 【QTUM】MacOS部署量子链环境
- 在MacOS X下编译emacs23
- iPhone的操作系统介绍MacOS X
- macos X在acer5572上的安装
- MacOS X 命令查看CPU信息
- Android 源码编译 MacOS X环境
- MacOS X 命令行破解wifi密码
- winform节点处理
- 设计模式精彩博客
- 用lua实现一个效果,输入一个字符串,输出该字符串中所有的字符组合
- <奔跑吧Linux内核>最新目录
- sbucat和subcate
- MACOS X QT部署
- 查看和撤销权限+存储权限信息的数据字典视图+查看权限+撤销系统权限+撤销对象权限
- 容易理解的快速排序算法及其相关算法的总结(含java实现方法)
- 总有学生在思考,我能不能做产品经理?
- java--xml解析
- ITU标准系列图书表单
- [leetcode]151. Reverse Words in a String
- 程序的机器级表示(一)(关于程序员,这些汇编知识就够了)
- 多个字段查重