Important: Please read the Qt Code of Conduct -

How to change sound volume of Qt application

  • Is there any way of controlling sound volume of Qt Application, irrespective of objects being used inside Application(e.g. music player, qwebview, qwebpage etc.). I am looking to control sound volume of my Qt app so that it will be applicable for that process only.
    So if user is running some other app on the system, that will not get affected.

  • i'm using :
    Phonon::VolumeSlider ;

  • which class are you using to produce sound because as far I know we have to use MediaObject and has to attach volumeslider with it...

    I am using QWebView and not finding any way to attach it with VOlumeSlider.

Log in to reply