mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
Check if QT_VERSION macro is defined.
This commit is contained in:
parent
b49e3e5620
commit
bf45cfd84a
@ -42,7 +42,7 @@
|
||||
* conversion happening in the background
|
||||
*/
|
||||
|
||||
#if QT_VERSION >= 0x040000
|
||||
#if defined(QT_VERSION) && (QT_VERSION >= 0x040000)
|
||||
#define QStringToTString(s) TagLib::String(s.toUtf8().data(), TagLib::String::UTF8)
|
||||
#else
|
||||
#define QStringToTString(s) TagLib::String(s.utf8().data(), TagLib::String::UTF8)
|
||||
|
Loading…
Reference in New Issue
Block a user