David Ludwig
David Ludwig

Reputation: 1037

Qt5 Deployed QtWebEngine Project Not Playing Html5 Videos

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...

Upvotes: 2

Views: 1840

Answers (2)

lily8561
lily8561

Reputation: 21

Qt 5.5.1 msvc2013 I copy the ffmpegsumo.dll to run directory ,it also can't work

Upvotes: 0

David Ludwig
David Ludwig

Reputation: 1037

Ok I ended up finding it. windeployqt didn't copy the ffmpegsumo.dll in the qtwebengine folder inside the plugins directory. But there's one thing with doing that... when you put it there, the app needs the MSVC Debug DLLs to run, which isn't really a problem, just an inconvenience.

Upvotes: 1

Related Questions