Ok, Got It.
on one hand :
const QString kCoverLocationTest(/src/test/id3-test-data/cover-test.jpg);
[...]
QImage img = QImage(kCoverLocationTest);
fails to load the image because of the absolute /src path
on the other hand :
info.coverLocation = ../../../ % kCoverLocationTest;
[...]
res =
Oh, and there is a typo in jpeg test cover file.
It's actually cover_test.jpg instead of cover-test.jpg
S.B.
Le 25/05/2015 21:04, Sébastien Blaisot a écrit :
Ok, Got It.
on one hand :
const QString
kCoverLocationTest(/src/test/id3-test-data/cover-test.jpg);
[...]
QImage img =