2

I'm am unable to play Html5 videos on a deployed Qt5.4 QtWebEngine project. I used the Fancy Browser example and built it with MSVC2013 OpenGL 64bit, and deployed it using windeployqt.exe. Now this right here will work fine but the app won't run on a computer without Qt5.4. So to fix this, I create a file in the exe directory called qt.conf and inside it I put:

[Path]
Prefix=.

This will fix the app and allow it to run on other computers without Qt. But then the problem now is that after adding the qt.conf file, it can no longer play Html5 videos. Is there a plugin or DLL I'm missing? I've been looking and messing around but can't find it...

4

2 回答 2

1

好的,我最终找到了它。windeployqt没有复制ffmpegsumo.dll插件目录内的 qtwebengine 文件夹中的。但是这样做有一个问题……当你把它放在那里时,应用程序需要MSVC调试 DLL 才能运行,这并不是真正的问题,只是一种不便。

于 2015-01-02T08:03:33.213 回答
0

Qt 5.5.1 msvc2013 我将ffmpegsumo.dll复制到运行目录,它也无法工作

于 2016-08-15T15:09:46.983 回答