qq_39023866
jayandime
采纳率0%
2017-08-02 04:56 阅读 2.8k

ubuntu下 qt5.4 源码编译问题

从官网下载了qt-everywhere-opensource-src-5.6.2压缩包
解压后 执行./configure 成功后 执行make 出现以下错误
Project ERROR: Unknown module(s) in QT: dbus
Project ERROR: Unknown module(s) in QT: quick
Makefile:47: recipe for target 'sub-textureandlight-make_first' failed
make[3]: *** [sub-textureandlight-make_first] Error 3
make[3]: Leaving directory '/home/jay/qt-x11/qtcanvas3d/examples/canvas3d'
Makefile:42: recipe for target 'sub-canvas3d-make_first' failed
make[2]: *** [sub-canvas3d-make_first] Error 2
make[2]: Leaving directory '/home/jay/qt-x11/qtcanvas3d/examples'
Makefile:69: recipe for target 'sub-examples-make_first' failed
make[1]: *** [sub-examples-make_first] Error 2
make[1]: Leaving directory '/home/jay/qt-x11/qtcanvas3d'
Makefile:349: recipe for target 'module-qtcanvas3d-make_first' failed
make: *** [module-qtcanvas3d-make_first] Error 2

如何解决这个问题

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

2条回答 默认 最新

  • shen_wei shen_wei 2017-08-02 07:32
    点赞 评论 复制链接分享
  • MissLong 未知的错 2018-07-03 08:02

    应该是缺少相关的开发库,确认下以下库
    sudo apt-get install libx11-dev
    sudo apt-get install libXrender-dev
    sudo apt-get install libglib2.0-dev libSM-dev libxrender-dev libfontconfig1-dev libxext-dev
    sudo apt-get install libglui-dev

    点赞 评论 复制链接分享

相关推荐