尝试在 /Users/username/QT5.8.0/5.8/clang_64/mkspecs/qdevice.pri 中添加
!host_build:QMAKE_Mac_SDK = macosx10.12
如果问题没有得到解决,可以通过在命令行运行如下命令