qt5base-lts/tests/auto/corelib/plugin
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
..
qfactoryloader CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qlibrary QLibrary: make isLoaded() report whether this object has load()ed 2023-07-10 09:53:53 -07:00
qplugin CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qpluginloader CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
quuid Use QT_SUPPORTS_INT128 macro to handle 128-bit integral types 2023-08-01 10:30:51 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00