hao
hao

Reputation: 238

Application deployment doesn't work after adding QSound

I have an application that I could deploy on other machines (Visual Studio). I added the module QtMultimedia to use the QSound class.

Wanting redeploy my app, the executable indicates me first that I need Qt5Multimedia.dll then Qt5Network.dll (which I have not added in my project).

Now my application doesn't launch, but no error message, I do not understand ... I did not find much on the internet.

Upvotes: 1

Views: 499

Answers (2)

hao
hao

Reputation: 238

I finally found !

First I need to go in the folder of my exe

Then use : "windeployqt.exe ." (whithout the quotes).

That add all I need to execute my exe. :)

Upvotes: 1

ixSci
ixSci

Reputation: 13698

First of all - use dependency walker to list all the dependencies and make sure you have all the required dlls right besides the binary.

Next, make sure you've copied all the required plugins to the appropriate plugin folder besides the binary. In particulary take a look at plugins/audio/qtaudio_windows.dll, I think you might need to deploy it.

Also a good way to check what you app uses is to use process explorer on the machine you have no troubles on to check all the dlls it uses when the app is running.

Upvotes: 1

Related Questions