我们需要在 QtwebengineView 中支持 mp4 文件。因此,我们正在尝试使用专有编解码器在 msvc2015 x64 上构建 Qt 5.9.1 的 qtwebengine,方法是在 cmd 中使用以下命令,工作目录是源代码中的 qtwebengine。
"D:\qt-everywhere-opensource-src-5.9.1\qtbase\bin\qmake.exe WEBENGINE_CONFIG+=use_proprietary_codecs"
我们面临以下错误。
WinRT is not supported.
QtWebEngine will not be built
我们尝试遵循以下链接: 如何使用专有编解码器在 Windows 上编译 Qt webengine (5.11) 但这也不起作用。
我们如何使用专有编解码器构建 qt 5.9.1 的 qtwebengine?