qt6-bb10/tests/auto/corelib/tools
Marc Mutz 126c4eae84 Split Q_COMPILER_UNICODE_STRINGS: add Q_STDLIB_UNICODE_STRINGS
Since commit bf2160e72c, we can rely on
charNN_t support in all compilers except MSVC 2013, and since that
commit, we use (in 5.10, not 5.9, yet)

  !defined(Q_OS_WIN) || defined(Q_COMPILER_UNICODE_STRINGS)

when we only need charNN_t, the type, as opposed to its library
support (u16string, char_traits<char16_t>, ...).

This patch splits the Q_C_UNICODE_STRINGS macro into two, adding
Q_STDLIB_UNICODE_STRINGS for when we need std::uNNstring, leaving
Q_C_UNICODE_STRINGS for when we need just charNN_t support.

In QDebug, when constructing a QChar out of a char16_t, cast to ushort
first, since QChar(char16_t) was only officially introduced in Qt 5.10.

[ChangeLog][Potentially Source-Incompatible Changes] The internal
Q_COMPILER_UNICODE_STRINGS macro is now defined if the compiler
supports charNN_t, even if the standard library does not. To check for
availability of std::uNNstring, use the new Q_STDLIB_UNICODE_STRINGS
macro.

Change-Id: I8f210fd7f1799fe21faf54506475a759b1f76a59
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2017-04-20 06:50:36 +00:00
..
collections Fix tst_Collections for gcc/arm 2017-04-07 05:54:04 +00:00
qalgorithms Long live QTest::addRow()! 2017-01-10 07:47:26 +00:00
qarraydata tst_QArrayData: fix unused variable warning in reallocate() 2017-03-22 09:22:34 +00:00
qarraydata_strictiterators
qbitarray
qbytearray Extend qChecksum calculation 2016-12-25 08:24:18 +00:00
qbytearraylist
qbytearraymatcher Long live QStaticByteArrayMatcher! 2017-01-19 21:37:46 +00:00
qbytedatabuffer
qcache
qchar Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-21 19:07:53 +01:00
qcollator Revert "Add tests for QCollatorSortKey" 2017-02-12 08:15:48 +00:00
qcommandlineparser Properly use the "process" feature 2017-02-27 15:44:46 +00:00
qcontiguouscache
qcryptographichash QCryptographicHash: make SHA3 calculate SHA3, not Keccak 2017-03-31 07:58:35 +00:00
qdate Make sure to use C locale during time tests that assume it 2017-02-20 08:48:46 +00:00
qdatetime Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-13 15:55:44 +01:00
qeasingcurve
qexplicitlyshareddatapointer
qfreelist Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qhash QMap, QHash: make key_iterator satisfy the DefaultConstructible concept 2017-03-20 04:36:42 +00:00
qhash_strictiterators
qhashfunctions tst_qhashfunctions: Test non-zero seeds too 2017-04-11 06:38:14 +00:00
qlatin1string Long live QTest::addRow()! 2017-01-10 07:47:26 +00:00
qline
qlinkedlist
qlist
qlist_strictiterators
qlocale Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-13 15:55:44 +01:00
qmap QMap, QHash: make key_iterator satisfy the DefaultConstructible concept 2017-03-20 04:36:42 +00:00
qmap_strictiterators
qmargins
qmessageauthenticationcode
qpair
qpoint
qpointf
qqueue
qrect
qregexp
qregularexpression Merge dev into 5.8 2016-08-22 11:30:01 +02:00
qringbuffer
qscopedpointer
qscopedvaluerollback
qset
qsharedpointer Fix undefined behavior in QSharedPointer::create() 2017-04-17 09:56:15 +00:00
qsize
qsizef
qstl
qstring Split Q_COMPILER_UNICODE_STRINGS: add Q_STDLIB_UNICODE_STRINGS 2017-04-20 06:50:36 +00:00
qstring_no_cast_from_bytearray
qstringapisymmetry QString(Ref): make toLatin1()/toLocal8Bit() null handling consistent 2017-02-15 20:12:36 +00:00
qstringbuilder
qstringiterator
qstringlist Add QStringList::join(QLatin1String) overload 2016-09-18 07:28:56 +00:00
qstringmatcher QStringMatcher: fix setCaseSensitivity() on a non-QString-backed matcher 2017-02-07 16:31:00 +00:00
qstringref
qtextboundaryfinder Use QT_CONFIG(library) instead of QT_NO_LIBRARY 2017-03-06 11:27:20 +00:00
qtime Make sure to use C locale during time tests that assume it 2017-02-20 08:48:46 +00:00
qtimeline Improve QTest::qWait() precision and switch to QDeadlineTimer 2017-01-25 16:40:57 +00:00
qtimezone Unexport QTimeZonePrivate 2017-02-23 10:42:51 +00:00
qvarlengtharray QVarLengthArray: fix appending an already-contained item 2017-02-17 07:35:31 +00:00
qvector Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qvector_strictiterators
qversionnumber tst_QVersionNumber: fix Clang warning about superfluous move 2017-03-06 11:13:17 +00:00
tools.pro