Problem With QMediaPlayer



  • I'm Trying To Implement a simple audio player in my application but it gives me an error..

    The Parts I Just Added:
    @ player = new QMediaPlayer(this);
    playlist = new QMediaPlaylist(player);
    player->setPlaylist(playlist);@
    The Error:
    @'player' was not declared in this scope
    error: 'playlist' was not declared in this scope
    @

    Thanks In Advance..


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.