ubuntu14.04安装qt报错求助

吖呀飞扬 2018-01-04 02:50:43
按照这个帖子操作的http://blog.csdn.net/lh2016rocky/article/details/70174715
在执行到7.sudo make install这里时

在这篇片文章的解决办法尝试了一下仍然没有解决
http://mangshe0.blog.163.com/blog/static/1967814720130523411898/

求助一下谢谢

PS:关于给出的解决办法

713 CFG_WEBKIT=auto # (yes|no|auto|debug) 设置为yes
注释掉该部分:
6022 # Additional check to decide if WebKit support will be included
6023 if [ "$CFG_XRENDER" = "no" ] && [ "$CFG_WEBKIT" != "no" ]; then
6024 echo "Warning: -no-xrender will disable the QtWebkit module."
6025 CFG_WEBKIT="no"

而只有auto需要根据编译器情况来设置CFG_WEBKIT="$canBuildWebKit",确定yes or no;
因此
7678 if [ "$CFG_WEBKIT" != "no" ]; then
改为:
7678 if [ "$CFG_WEBKIT" = "auto" ]; then
7680 CFG_WEBKIT="$canBuildWebKit"
7682 fi

就改成这样的是吗?看看是不是我理解错了
713 CFG_WEBKIT=yes # (yes|no|auto|debug)

6022 # Additional check to decide if WebKit support will be included
6023 # if [ "$CFG_XRENDER" = "no" ] && [ "$CFG_WEBKIT" != "no" ]; then
6024 # echo "Warning: -no-xrender will disable the QtWebkit module."
6025 # CFG_WEBKIT="no"

7678 if [ "$CFG_WEBKIT" = "auto" ]; then
7680 CFG_WEBKIT="$canBuildWebKit"
7682 fi
...全文
456 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

16,216

社区成员

发帖
与我相关
我的任务
社区描述
Qt 是一个跨平台应用程序框架。通过使用 Qt,您可以一次性开发应用程序和用户界面,然后将其部署到多个桌面和嵌入式操作系统,而无需重复编写源代码。
社区管理员
  • Qt
  • 亭台六七座
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧