Taglib 1.8 on windows 7 is not working properly as on windows XP

walid yaich walid.yaich at gmail.com
Mon Oct 15 22:19:45 UTC 2012


Hello,

I'm really in trouble guys, the most difficult in this case that i don't
know from which side should i take this issue.

I compiled taglib 1.8 using Mingw succesfully, then i integrated it into a
Qt project. The purpuse is to remove ID3 Tag from mp3 files.

This code :

void MainWindow::removeTagFromFile(QByteArray &fileContent)
{
    TagLib::ByteVector byteVector(fileContent.constData());
    TagLib::ID3v2::FrameFactory *frame =
TagLib::ID3v2::FrameFactory::instance();
    TagLib::IOStream *vectorStream = new TagLib::ByteVectorStream(byteVector);
    TagLib::MPEG::File file(vectorStream, frame);
    file.strip();
    file.save();
}


Compile and works fine on XP. Compile and doesn't work as expected(do not
remove ID3 Tag) on Windows 7.

Taking the ".exe compiled on XP" to seven do not solve the problem.

is it weird ? i'm afraid that this is a bug in Taglib, does it make sense ?
Any idea or an explanation is welcome, Thanks in advance.

You can download the project
here<https://docs.google.com/open?id=0B4oIPD6jAmQOS3ZhMXdNenRoWGM>

I'm writing a tutorial in french about details of compilation and
integration into a Qt project, i'll write one in english if there is
interested people.

Thanks in advance for any kind of help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20121015/46a2e74e/attachment-0001.html>


More information about the taglib-devel mailing list