Can't play sound.
-
1)Of course I checked exist dll in "C:\qt2\5.15.2\msvc2019_64\plugins\mediaservice"
2)I downloaded offline installer 5.15.2
3)I built new dll and reversed they in path "C:\qt2\5.15.2\msvc2019_64\plugins\mediaservice" -
@architect23 said in Can't play sound.:
What is wrong?
Did you check whether those DLLs are there or not?
How did you install Qt?"I make new compile: plugins.pro(new Qt5Multimediad.dll, new wmfengined.dll, new dsengined.dll)" - what does "new" mean here? What did you change?
You should also add error handling to your app (https://doc.qt.io/qt-5/qmediaplayer.html#error-1).
@jsulm I have :
QMediaPlayer::ServiceMissingError 5 A valid playback service was not found, playback cannot proceed. -
1)Of course I checked exist dll in "C:\qt2\5.15.2\msvc2019_64\plugins\mediaservice"
2)I downloaded offline installer 5.15.2
3)I built new dll and reversed they in path "C:\qt2\5.15.2\msvc2019_64\plugins\mediaservice" -
@jsulm because I read it on dif website
-
@jsulm because I read it on dif website
@architect23 I still do not understand this: why do you think you need to built new DLLs?
-
@architect23 I still do not understand this: why do you think you need to built new DLLs?
@jsulm because i saw, that my project did't see dlls
-
@architect23 I still do not understand this: why do you think you need to built new DLLs?
@jsulm Can you tell me what i must do? :)
-
@jsulm because i saw, that my project did't see dlls
@architect23 said in Can't play sound.:
because i saw, that my project did't see dlls
What do you mean with this?
To useQMediaPlayer, you have to enable multimedia libraries in your project by addingQT += multimediain your PRO file. -
@architect23 said in Can't play sound.:
because i saw, that my project did't see dlls
What do you mean with this?
To useQMediaPlayer, you have to enable multimedia libraries in your project by addingQT += multimediain your PRO file.@KroMignon of course I did it:
QT += core gui multimedia