[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglib-devel
Subject:    Re: About Taglib for Symbian (Qt development)
From:       Luká¹ Lalinskı <lalinsky () gmail ! com>
Date:       2011-11-14 10:57:11
Message-ID: CAGUtLj-gKq_rXMqNoEpt7Z7Y5i=QjuK-0Ax4LUVDx6+8=GxL8w () mail ! gmail ! com
[Download RAW message or body]

2011/11/14 Hoà i Linh Nguyễn <mrsherlock88@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?

Lukas
_______________________________________________
taglib-devel mailing list
taglib-devel@kde.org
https://mail.kde.org/mailman/listinfo/taglib-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic