| * * Could not find Qt via pkg-config. * Please install either Qt 4.8 or 5.x. and make sure it's in PKG_CONFIG_PATH * scripts/kconfig/Makefile:207: recipe for target 'scripts/kconfig/qconf-cfg' failed make[1]: *** [scripts/kconfig/qconf-cfg] Error 1 Makefile:538: recipe for target 'xconfig' failed make: *** [xconfig] Error 2 |
解决办法
sudo apt-get install qttools5-dev
本文解决了一个常见的Qt配置问题,当尝试构建包含Qt组件的项目时,可能会遇到找不到Qt的错误。解决方案是通过包管理器安装Qt开发工具,确保Qt环境正确配置。
250

被折叠的 条评论
为什么被折叠?



