OverviewFelgo 2 Support (Qt 5) › Background Music playing while game is in background

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #8648



    Pressing the “Home” button on Android device puts the game in the “Paused” state, however, the background music of the game keeps playing..

    This can be somewhat annoying especially if a phone call comes trough..

    Is there any way around this? I know Android has onPaused() method but I don’t see how this would be connected to Qt..




    • This topic was modified 4 years, 11 months ago by  senadb.

    Felgo Team

    Hi Senad,

    are you using the BackgroundMusic component or a standard Qt Audio component?




    Hi Alex,


    I have used Qt Audio component because BackgroundMusic is not playing the mp3 file when testing on Desktop.

    However, i just noticed that it does play on the android device..  Is this a bug because documentation states that Windows should play mp3 in the BackgroundMusic component..






Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support