编译依赖问题
1.参考官方说明
https://wiki.qt.io/QtWebEngine/How_to_Try#Building
2.银河麒麟v4还需要安装的依赖
libssl-dev
libxcursor-dev
libxcomposite-dev
libxrandr-dev
libxdamage-dev
libfontconfig1-dev
libxss-dev
libsrtp0-dev
libwebp-dev
libjsoncpp-dev
libopus-dev
libminizip-devlibavutil-dev
libavformat-dev
libvpx-dev
libavcodec-devlibevent-dev
libsnappy-dev
libre2-dev
libprotobuf-devprotobuf-compiler
原文链接:https://blog.csdn.net/zcteo/article/details/123856254
media模块与系统中pulseaudio库的某些接口冲突问题
报错如下:
obj/src/3rdparty/chromium/media/media.gen/pulse_stubs.cc:148:83: error: conflicting declaration of C function ‘pa_context_state_t pa_context_get_state(pa_context*)’ extern pa_context_state_t pa_context_get_state(pa_context* c) __attribute__((weak))
解决方式:
- 找到系统中冲突的接口定义先注释掉再重新编译
- 等到这个错误位置编译通过后再把原来注释的地方去掉