【发布时间】:2017-09-04 00:27:10
【问题描述】:
突然之间,Qt 停止工作,并抛出以下无意义的消息。
/Users/XXXXX/Desktop/.qmake.stash(35): Assignment needs exactly one word on the left hand side.
/Users/XXXXX/Desktop/.qmake.stash(36): Assignment needs exactly one word on the left hand side.
/Users/XXXXX/Desktop/.qmake.stash(37): Assignment needs exactly one word on the left hand side.
Error while parsing file /Users/XXXXX/Desktop/untitled folder/untitled/untitled.pro. Giving up.
我一整天都无法解决问题。我已经重新安装了 XCode 8 以及终端命令工具和 Qt 5.8,但没有运气。我已经尝试了这篇帖子Error: Could not resolve SDK path for 'macosx10.8' 中的解决方案,但没有一个解决方案有效。我不确定配置到底出了什么问题,以及 XCode 或 Qt 是否会导致问题。
信息:
macOS Sierra 10.12.4
基于 Qt 5.8.0(Clang 7.0 (Apple),64 位
XCode:版本 8.3.1 (8E1000a)
【问题讨论】: