打印
[嵌入式linux]

ubuntu 下安装QT,make提示的错误

[复制链接]
6393|4
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
lqland|  楼主 | 2014-12-1 11:11 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 lqland 于 2014-12-1 11:35 编辑

问题 1. =========ubuntu 12.04 下安装QT时 make的错误提示==========
qpaintervideosurface.cpp: In constructor ‘QVideoSurfaceGenericPainter::QVideoSurfaceGenericPainter()’:
qpaintervideosurface.cpp:99:9: error: incomplete type ‘QOpenGLContext’ used in nested name specifier
qpaintervideosurface.cpp:99:47: error: incomplete type ‘QOpenGLContext’ used in nested name specifier
qpaintervideosurface.cpp: In member function ‘virtual QAbstractVideoSurface::Error QVideoSurfaceGenericPainter::start(const QVideoSurfaceFormat&)’:
qpaintervideosurface.cpp:140:13: error: incomplete type ‘QOpenGLContext’ used in nested name specifier
qpaintervideosurface.cpp:140:51: error: incomplete type ‘QOpenGLContext’ used in nested name specifier
make[3]: *** [.obj/qpaintervideosurface.o] Error 1
make[3]: Leaving directory `/home/ubuntu/myandroid/qt/qt-everywhere-opensource-src-5.4.0-rc/qtmultimedia/src/multimediawidgets'
make[2]: *** [sub-multimediawidgets-make_first] Error 2
make[2]: Leaving directory `/home/ubuntu/myandroid/qt/qt-everywhere-opensource-src-5.4.0-rc/qtmultimedia/src'
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory `/home/ubuntu/myandroid/qt/qt-everywhere-opensource-src-5.4.0-rc/qtmultimedia'
make: *** [module-qtmultimedia-make_first] Error 2
root@ubuntu:/home/ubuntu/myandroid/qt/qt-everywhere-opensource-src-5.4.0-rc#

问题 2. ========== ubuntu 10.04 下安装QT时,make的错误提示 =========
qxcbconnection_xi2.cpp: In member function ‘void QXcbConnection::xi2SetupDevices()’:
qxcbconnection_xi2.cpp:178: error: ‘XITouchClass’ was not declared in this scope
make[6]: *** [.obj/qxcbconnection_xi2.o] Error 1
make[6]: Leaving directory `/home/usr/work/qt-everywhere-opensource-src-5.4.0-rc/qtbase/src/plugins/platforms/xcb'
make[5]: *** [sub-xcb-plugin-pro-make_first-ordered] Error 2
make[5]: Leaving directory `/home/usr/work/qt-everywhere-opensource-src-5.4.0-rc/qtbase/src/plugins/platforms/xcb'
make[4]: *** [sub-xcb-make_first] Error 2
make[4]: Leaving directory `/home/usr/work/qt-everywhere-opensource-src-5.4.0-rc/qtbase/src/plugins/platforms'
make[3]: *** [sub-platforms-make_first] Error 2
make[3]: Leaving directory `/home/usr/work/qt-everywhere-opensource-src-5.4.0-rc/qtbase/src/plugins'
make[2]: *** [sub-plugins-make_first] Error 2
make[2]: Leaving directory `/home/usr/work/qt-everywhere-opensource-src-5.4.0-rc/qtbase/src'
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory `/home/usr/work/qt-everywhere-opensource-src-5.4.0-rc/qtbase'
make: *** [module-qtbase-make_first] Error 2
root@ubuntu:/home/usr/work/qt-everywhere-opensource-src-5.4.0-rc#

有哪位大神,可以指点一下,解决之道,谢谢


相关帖子

沙发
HORSE7812| | 2014-12-16 20:26 | 只看该作者
5.4没装过,帮顶

使用特权

评论回复
板凳
frank061015| | 2015-5-25 14:42 | 只看该作者
帮顶!!!

使用特权

评论回复
地板
HORSE7812| | 2015-8-11 21:25 | 只看该作者
帮顶!!!

使用特权

评论回复
5
mini1986| | 2015-9-10 13:41 | 只看该作者
没用过这么高版本的,帮你顶......

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

78

主题

387

帖子

1

粉丝