wang-bin / QtAV

A cross-platform multimedia framework based on Qt and FFmpeg. 基于Qt和FFmpeg的跨平台高性能音视频播放框架. Recommand to use new sdk https://github.com/wang-bin/mdk-sdk
http://qtav.org
3.99k stars 1.51k forks source link

GraphicsItemRenderer.h:82:5: error: ‘OpenGLVideo’ does not name a type #875

Open taktiker12 opened 7 years ago

taktiker12 commented 7 years ago

hi, i tried to compile the Qt-AV 1.11.0 from git .. i did : git submodule update --init qmake and make

i use Qt-5.4 the errors are :
cd widgets/ && make -f Makefile.libQtAVWidgets make[1]: Entering directory '/usr/local/src/QtAV/widgets' /opt/Qt/5.4/gcc_64/bin/qmake -o Makefile.libQtAVWidgets libQtAVWidgets.pro Project MESSAGE: target: /usr/local/src/QtAV/lib_linux_x86_64/QtAVWidgets Project MESSAGE: target: /usr/local/src/QtAV/lib_linux_x86_64/QtAVWidgets Project MESSAGE: target: /usr/local/src/QtAV/lib_linux_x86_64/Qt5AVWidgets g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DBUILD_QTAVWIDGETS_LIB -DQTAV_HAVE_GL=1 -DQTAV_HAVE_XV=1 -DQTAV_HAVE_X11=1 -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/Qt/5.4/gcc_64/mkspecs/linux-g++ -I. -I/opt/Qt/5.4/gcc_64/include -I../src -I/usr/local/src/QtAV -I../src/QtAV -I. -I/usr/local/src/QtAV -IQtAVWidgets -I/opt/Qt/5.4/gcc_64/include/QtOpenGL -I/opt/Qt/5.4/gcc_64/include/QtWidgets -I/opt/Qt/5.4/gcc_64/include/QtGui -I/opt/Qt/5.4/gcc_64/include/QtCore -I../.moc/5.4.0/Qt5AVWidgets -o ../.obj/Qt5AVWidgets_linux_x86_64/global.o global.cpp In file included from global.cpp:31:0: QtAVWidgets/GraphicsItemRenderer.h:82:5: error: ‘OpenGLVideo’ does not name a type OpenGLVideo* opengl() const Q_DECL_OVERRIDE; ^ global.cpp: In function ‘void QtAV::Widgets::registerRenderers()’: global.cpp:91:9: error: ‘name’ is not a member of ‘QtAV::VideoRenderer’ if (VideoRenderer::name(VideoRendererId_Widget))

Any help is welcome ...thank U in advance and for taking time to read this issue

Mounir

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/44975438-graphicsitemrenderer-h-82-5-error-openglvideo-does-not-name-a-type?utm_campaign=plugin&utm_content=tracker%2F307703&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F307703&utm_medium=issues&utm_source=github).
wang-bin commented 7 years ago

I need your complete build log