therecipe / qt

Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly
GNU Lesser General Public License v3.0
10.48k stars 748 forks source link

support for Qt Multimedia on windows #1107

Open mtal3t opened 4 years ago

mtal3t commented 4 years ago

Hi,

is Multimedia support complete? i am trying to build an App that uses Qt Quick Multimedia for windows using Docker on a Linux host.

on a fresh install of the binding i ran :

qtdeploy -docker build windows_32_shared

it builds alright, but when running with wine i get the following output

0032:err:module:import_dll Library Qt5Multimedia.dll (which is needed by QtMultimedia\\declarative_multimedia.dll") not found
0032:err:module:import_dll Library Qt5MultimediaQuick.dll (which is needed by QtMultimedia\\declarative_multimedia.dll") not found

also tried on a windows virtual machine, the app doesn't start.

i can build the same app for Linux just fine.

any pointers?

thanks in advance

mtal3t commented 4 years ago

copying the missing dlls from the docker image to the app fixes the issue.

for anyone looking until this gets properly fixed!

docker run -v $PWD:/app -it therecipe/qt:windows_32_shared

then simply search for the missing dlls, something like this in my case, did the trick cp $(find / -name Qt5M*.dll) /app/deploy/windows

however after this the app silently crashes on my windows virtual machine, still trying to fix that :)