标题:交叉编译QtAV,报错
作者:yl1627366632
日期:2022-04-20 21:47
内容:
arm-linux-gnueabihf-strip /home/yl/arm_QtAV/lib_linux_arm/libQtAVWidgets.so
make[1]: Leaving directory '/home/yl/arm_QtAV/widgets'
In file included from /home/yl/QtAV/QtAV-master/qml/SGVideoNode.cpp:24:0:
/home/yl/QtAV/QtAV-master/src/QtAV/VideoShader.h:128:42: error: ‘userShaderHeader’ declared as a ‘virtual’ field
virtual const char* userShaderHeader(QOpenGLShader::ShaderType) const {return 0;}
^
/home/yl/QtAV/QtAV-master/src/QtAV/VideoShader.h:128:25: error: expected ‘;’ at end of member declaration
virtual const char* userShaderHeader(QOpenGLShader::ShaderType) const {return 0;}
^
/home/yl/QtAV/QtAV-master/src/QtAV/VideoShader.h:128:42: error: ‘QOpenGLShader’ has not been declared
virtual const char* userShaderHeader(QOpenGLShader::ShaderType) const {return 0;}
^
/home/yl/QtAV/QtAV-master/src/QtAV/VideoShader.h:128:67: error: ISO C++ forbids declaration of ‘ShaderType’ with no type [-fpermissive]
virtual const char* userShaderHeader(QOpenGLShader::ShaderType) const {return 0;}
&n ..