A
A
Alexander2021-03-13 13:45:57
Qt Creator
Alexander, 2021-03-13 13:45:57

How to solve the problem with plugins and why is this happening?

Wrote a program in Qt. Everything starts.
I decide to run through the .exe from the folder, it gives an error that there is no dll list. Ok, I take these dlls and put them in a folder with an executable.
I start, everything starts and works, EXCEPT for playing sounds. And if you now run it from Qt, then in the application output you can see using null output device, none available.
In the bottom line, at first everything was fine, but as soon as it was thrown into the folder with the .exe library, it stopped finding some kind of plugin and stopped playing sounds. Whatoo.
1. How to make sure that there would be no all this crap. I need to be able to easily run the program through the .exe and make everything work.
2. Why does this happen, how does the logic of this creator work?

Amendment. I was able to fix it. To do this, I went to the assembly folder on which I write, in my case mingw81_32, there to the /plugins/audio folder. And I copied the files from there to the folder with the executable. But the second question remains relevant!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2021-03-13
@Shemapp

Use windeployqt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question