开发者社区> 问答> 正文

ubuntu下安装QT时make报错?报错

QT版本:qt-x11-opensource-src-4.5.3

安装时在make的过程中报错如下:

 make[1]: *** [.obj/release-shared/qxpath20corefunctions.o] Error 1
make[1]: Leaving directory `/home/xin/Documents/QT/qt-x11-opensource-src-4.5.3/src/xmlpatterns'
make: *** [sub-xmlpatterns-make_default-ordered] Error 2

求助!

 

展开
收起
爱吃鱼的程序员 2020-06-22 19:43:59 723 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    你得把出错的log贴多点,另外,4.5.x很老了

    进入usr/local/qt/qt-x11-opensource-src-4.5.3/src/xmlpatterns目录

    vim Makefile文件   把-fpermissive加到CXXFLAGS关键字后面,就可以解决了

    2020-06-22 19:44:16
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载