When I install QT in MacOS 11.3.6, it prompts I need to install xcode
then I install xcode but it was still fruitless.
now, it's the solution:
referrence:
https://www.jianshu.com/p/5a6b7fcdf4c3