I would like to mute sound in Windows, or stop/play music using multimedia keys, so I writed:
QTest::keyClick(QApplication::focusWidget(), Qt::Key_VolumeMute , Qt::NoModifier);
But nothing happens, is there any way to do this?
I would like to mute sound in Windows, or stop/play music using multimedia keys, so I writed:
QTest::keyClick(QApplication::focusWidget(), Qt::Key_VolumeMute , Qt::NoModifier);
But nothing happens, is there any way to do this?