【无标题】

sudo ./configure -prefix /media/phytium/Data/Qt-5.12.2 -release -opensource -nomake examples -nomake tests -platform linux-clang -recheck-all

执行上述命令报错:ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken.
解决方法:https://blog.csdn.net/weixin_43677045/article/details/114653682
https://blog.csdn.net/Wind4study/article/details/104443206/
https://zhuanlan.zhihu.com/p/51694632说查看config.log
config.log中报错:make:clang++:命令未找到
则安装clang:sudo apt-get install clang
https://blog.csdn.net/wss794/article/details/124332777

sudo ./configure -webengine-proprietary-codecs

socketcanbackend.cpp:697:41: error: ‘SIOCGSTAMP’ was not declared in this scope; did you mean ‘SIOCSARP’?
697 | if (Q_UNLIKELY(ioctl(canSocket, SIOCGSTAMP, &timeStamp) < 0)) {

解决:找到socketcanbackend.cpp并打开,添加头文件#include <linux/sockios.h>即可解决问题
https://blog.csdn.net/liangjian990709/article/details/111494494

/usr/bin/ld.gold:错误:cannot find -lclip2tri
/usr/bin/ld.gold:错误:cannot find -lpoly2tri
/usr/bin/ld.gold:错误:cannot find -lclipper

注意:商店安装完qtcreator 需打开终端 手动安装如下几个包
https://blog.csdn.net/weixin_43238928/article/details/126087609
sudo apt install qt5-qmake qt5-default
qmake在/usr/bin中

Project ERROR: Unknown module(s) in QT: webenginewidgets
https://blog.csdn.net/CODES001/article/details/127846091

No executable specified.
QtCreator-左侧项目-运行设置-运行-删除

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值