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-左侧项目-运行设置-运行-删除