本帖最后由 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#
有哪位大神,可以指点一下,解决之道,谢谢
|