Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

QUrl::fromLocalFile and relative path

$
0
0
Hi, I’m tying to use the QMediaContent class to play some .wav files with QMediaPlayer (QSound doesn’t work). When I use absolute paths for the files it works all fine, but I can’t manage to get it working with relative paths (which I really need since I want to distribute my .exe). I need a little help here. Thanks :)

Viewing all articles
Browse latest Browse all 18427

Trending Articles