About Taglib for Symbian (Qt development)

Lukáš Lalinský lalinsky at gmail.com
Mon Nov 14 10:57:11 UTC 2011

2011/11/14 Hoài Linh Nguyễn <mrsherlock88 at gmail.com>:
> With tag.lib in 520KB, only one error occurs is "cannot convert parameter
> from QChar * to Taglib::FileName, no constructor found".

This is expected, but since QChar and wchar_t are compatible on
Windows, you can simply cast it to wchar_t*.

TagLib::FileRef f(static_cast<const wchar_t *>(filepath.constData()));

> When change to:
> //        TagLib::FileRef f(filepath.constData());
>         TagLib::FileName filename(fnWs);
>         TagLib::FileRef f(filename);
> I get "unresolved external symbol".

This should work. What symbol is missing?


More information about the taglib-devel mailing list