PointTeam / PointDownload

homepage
GNU General Public License v3.0
225 stars 43 forks source link

需要增加依赖 #10

Closed sbwtw closed 9 years ago

sbwtw commented 9 years ago

下载完成时播放声音使用的是 QSound::play(":/tone/resources/Tone/complete.wav"); QSound需要依赖pulseaudio,否则运行时不会播放声音并且有这样的错误: PulseAudioService: pa_context_connect() failed

或者改为使用QMediaPlayer

PointTeam commented 9 years ago

非常抱歉,这几天比较忙,所以这么晚才回复。这个当时是在Deepin上还有openSUSE上开发的,默认就没有报这个问题,应该是不同发行版本支持的不太一样吧。QMediaPlayer兼容的比较好吗?

sbwtw commented 9 years ago

我的环境是archlinux, 那个依赖在源里就有而且很小, 我觉得加个依赖就行没必要改代码了

On Thu, Nov 27, 2014, 00:16 point-team notifications@github.com wrote:

非常抱歉,这几天比较忙,所以这么晚才回复。这个当时是在Deepin上还有openSUSE上开发的,默认就没有报这个问题,应该是不同发行版本支持的不太一样吧。QMediaPlayer兼容的比较好吗?

— Reply to this email directly or view it on GitHub https://github.com/PointTeam/PointDownload/issues/10#issuecomment-64669909 .

PointTeam commented 9 years ago

嗯,把那个依赖的写上就好了