I compiled my project in MinGW x64 - release, I did it like this before. But in my project there was a need to download multimedi for music. service found for - "org.qt-project.qt.mediaplayer"
Here is the code:
const QString mu(QApplication::applicationDirPath()+bt+mus); //bt = blytype/ //mus = music/ bg_pl->addMedia(QUrl(mu+bg+"Minus"+wav)); //bg = background/ //wav = .wav bg_pl->setPlaybackMode(QMediaPlaylist::Loop); bgm->setPlaylist(bg_pl); Well, then play this playlist, etc.
What is the problem? If you do not add dll files, compile in the creat and run all the same from there