The audio plugins folder: [Qt-Installation]\5.4\msvc2013\plugins\audio
audio\qtaudio_windows.dll
what you needaudio\qtaudio_windowsd.dll
is the debug libraryaudio\qtaudio_windowsd.pdb
symbols
You don't need to deploy the last two.
m_pAlarmSound->setLoops(QSound::Infinite);
m_pAlarmSound->play()
在生成的exe执行文件下面,需要添加audio\qtaudio_windows.dll
才能播放声音。
http://stackoverflow.com/questions/30099180/qt-doesnt-play-sound-on-other-devices
2
|
The audio plugins folder:
You don't need to deploy the last two. |
2
|
The audio plugins folder:
You don't need to deploy the last two. |