qt5base-lts/tests/auto/corelib
Ivan Solovev eb0abd9789 Use QT_SUPPORTS_INT128 macro to handle 128-bit integral types
Introduce QT_SUPPORTS_INT128 and QT_NO_INT128 marcos to handle 128-bit
types. These macros allow to undef Qt's own 128-bit types and the
related code, but keep the compiler definitions unchanged.

This is required for Qt Bluetooth, where we need to use
QT_BLUETOOTH_REMOVED_SINCE to get rid of the APIs using
QtBluetooth-specific struct quint128 which clashes with the 128-bit
types. The idea is to use QT_NO_INT128 in Qt Bluetooth's
removed_api.cpp instead of directly undef'ing __SIZEOF_INT128__,
because the latter is UB.

This commit amends befda1acca.

Pick-to: 6.6
Change-Id: Ia2c110b5744c3aaa53eda39fb44984cf5a01fac2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2023-08-01 10:30:51 +02:00
..
animation tst_QParallelAnimationGroup: fix memleak 2023-07-14 14:56:03 +02:00
global Make qYieldCpu() public API 2023-07-25 07:21:56 -07:00
io Socketpair is not supported on Vxworks 2023-07-27 08:46:18 +02:00
ipc QNativeIpcKey: add qHash() function 2023-07-25 12:31:04 +02:00
itemmodels tst_QSortFilterProxyModel: fix mem-leaks II: sortStable() 2023-07-19 04:51:26 +00:00
kernel QMetaType: fix recursive detection of std::optional operators 2023-07-31 18:43:55 -07:00
mimetypes Skip tst_QMimeDatabase::mimeTypeForUnixSpecials_data when AT_FDCWD is not defined 2023-07-28 23:13:09 +02:00
platform CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
plugin Use QT_SUPPORTS_INT128 macro to handle 128-bit integral types 2023-08-01 10:30:51 +02:00
serialization tst_QXmlStream: Remove stray comment 2023-07-25 09:31:17 +02:00
text Use correct index for QLocale::system()'s static 2023-07-31 17:16:14 +02:00
thread Revert "Fix signed integer overflows in tst_QAtomicInteger" 2023-07-28 11:20:35 -07:00
time QDTP: match local-time by preference to its zone 2023-07-21 18:22:01 +02:00
tools tst_QExplicitlySharedDataPointer: Remove stray comment 2023-07-25 12:31:04 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00