提示:error: The Legacy Build System will be removed in a future release. You can configure the selected build system and this deprecation message in File > Project Settings.
新建QT工程, 直接编译,就出现这个提示, 应该如何解决?
提示:error: The Legacy Build System will be removed in a future release. You can configure the selected build system and this deprecation message in File > Project Settings.
新建QT工程, 直接编译,就出现这个提示, 应该如何解决?
这个错误提示表明,您正在使用QT 15.5和Xcode 13.2.1在macOS 12.2.1上编译工程,但是因为使用了遗留的构建系统,导致编译失败。
解决方法是:
1.打开Xcode,在工程文件中,找到Project Settings。
2.选择新的构建系统,可以使用Xcode的新构建系统或者使用QT提供的qmake。
3.设置新的构建系统并重新编译工程。
如果依然不能编译成功,建议检查QT、Xcode、macOS的版本是否相匹配,并确保安装了正确的驱动。