Qt 6.11 is out! See what's new in the release
blog
Do something when a particular tab is selected
-
In a slot connected to QTabWidget::currentChanged(), if the new current index is the one of interest then start playback. If it is not the index of interest then stop playback.