[Interest] Minimum required OS X SDK for Qt 5.6?
NoRulez
norulez at me.com
Wed Mar 2 20:20:32 CET 2016
Hello,
what is the minimum required Mac OS X SDK?
I tried it with MacOSX10.8.sdk and C++11 enabled but it fails with (I
think that C++11 is not fully supported in 10.8):
In file included from
/opt/Qt/5.6/clang_64/lib/QtCore.framework/Headers/QString:1:
/opt/Qt/5.6/clang_64/lib/QtCore.framework/Headers/qstring.h:756:55: error:
no type named 'u16string' in namespace 'std'
static inline QString fromStdU16String(const std::u16string &s);
~~~~~^
/opt/Qt/5.6/clang_64/lib/QtCore.framework/Headers/qstring.h:757:17: error:
no type named 'u16string' in namespace 'std'
inline std::u16string toStdU16String() const;
~~~~~^
/opt/Qt/5.6/clang_64/lib/QtCore.framework/Headers/qstring.h:758:55: error:
no type named 'u32string' in namespace 'std'
static inline QString fromStdU32String(const std::u32string &s);
~~~~~^
/opt/Qt/5.6/clang_64/lib/QtCore.framework/Headers/qstring.h:759:17: error:
no type named 'u32string' in namespace 'std'
inline std::u32string toStdU32String() const;
~~~~~^
/opt/Qt/5.6/clang_64/lib/QtCore.framework/Headers/qstring.h:1319:53:
error: no type named 'u16string' in namespace 'std'
inline QString QString::fromStdU16String(const std::u16string &s)
~~~~~^
/opt/Qt/5.6/clang_64/lib/QtCore.framework/Headers/qstring.h:1322:13:
error: no type named 'u16string' in namespace 'std'
inline std::u16string QString::toStdU16String() const
~~~~~^
/opt/Qt/5.6/clang_64/lib/QtCore.framework/Headers/qstring.h:1323:15:
error: no member named 'u16string' in namespace 'std'
{ return std::u16string(reinterpret_cast<const char16_t*>(utf16()),
length()); }
~~~~~^
/opt/Qt/5.6/clang_64/lib/QtCore.framework/Headers/qstring.h:1325:53:
error: no type named 'u32string' in namespace 'std'
inline QString QString::fromStdU32String(const std::u32string &s)
~~~~~^
/opt/Qt/5.6/clang_64/lib/QtCore.framework/Headers/qstring.h:1328:13:
error: no type named 'u32string' in namespace 'std'
inline std::u32string QString::toStdU32String() const
~~~~~^
/opt/Qt/5.6/clang_64/lib/QtCore.framework/Headers/qstring.h:1330:10:
error: no member named 'u32string' in namespace 'std'
std::u32string u32str(length(), char32_t(0));
~~~~~^
/opt/Qt/5.6/clang_64/lib/QtCore.framework/Headers/qstring.h:1331:75:
error: use of undeclared identifier 'u32str'
int len = toUcs4_helper(d->data(), length(),
reinterpret_cast<uint*>(&u32str[0]));
^
/opt/Qt/5.6/clang_64/lib/QtCore.framework/Headers/qstring.h:1332:5: error:
use of undeclared identifier 'u32str'
u32str.resize(len);
^
/opt/Qt/5.6/clang_64/lib/QtCore.framework/Headers/qstring.h:1333:12:
error: use of undeclared identifier 'u32str'
return u32str;
^
13 errors generated.
More information about the Interest
mailing list