qt6-bb10/src
Ivan Solovev fb50ab7006 Add QByteArrayView vs const char * relational operators
... by using the new comparison helper macros.

Also, convert the existing QByteArrayView relational operators to use
these macros.

An attempt to define the helper functions comparesEqual() and
compareThreeWay() as hidden friends leads to compilation errors, because
the QByteArrayView(QLatin1StringView) constructor gets somehow disabled.
Apparently, it cannot satisfy the
QtPrivate::IsContainerCompatibleWithQByteArrayView trait anymore.
I could not find a reason for that, so I just defined the helper
functions as static inline private members of QByteArrayView. This fixes
the issue.

This allows to enable related tests in tst_qstringapisymmetry.

Task-number: QTBUG-108805
Change-Id: I35a69e99db8c61531ec726dab5b242b857f69e85
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2024-02-20 01:04:33 +01:00
..
3rdparty PCRE2: upgrade to 10.43 2024-02-19 23:48:13 +01:00
android Android: Implement input connection listener in QtInputDelegate 2024-02-19 17:05:54 +02:00
assets Introduce NO_GENERATE_CPP_EXPORTS argument for qt_internal_add_module 2024-02-09 23:00:04 +01:00
concurrent Doc: Qt Concurrent: Fully qualify \typedef documentation 2024-02-13 08:13:57 +00:00
corelib Add QByteArrayView vs const char * relational operators 2024-02-20 01:04:33 +01:00
dbus Doc: Resolve qdoc link warnings 2024-02-14 21:47:28 +01:00
entrypoint src: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-10 23:36:51 +01:00
gui Apple: Fix a few deprecation warnings after bumping deployment targets 2024-02-19 18:03:11 +01:00
network QHttp2Connection: confirm successive remote stream IDs are higher 2024-02-19 21:09:30 +01:00
opengl Refix invalid glTexImage2D operation in FramebufferObject 2024-02-09 15:26:21 +01:00
openglwidgets QOpenGLWidget: Call glClear in the default paintGL implementation 2023-09-04 11:46:29 +02:00
platformsupport Introduce NO_GENERATE_CPP_EXPORTS argument for qt_internal_add_module 2024-02-09 23:00:04 +01:00
plugins Apple: Fix a few deprecation warnings after bumping deployment targets 2024-02-19 18:03:11 +01:00
printsupport Remove extra semi-colons 2024-02-06 20:17:18 +09:00
sql Doc: Fix QDoc warnings for overloads 2024-02-14 21:47:28 +01:00
testlib QTest: rename local `timeout` variable in QTRY_IMPL macro 2024-02-09 15:11:50 +01:00
tools PCRE2: upgrade to 10.43 2024-02-19 23:48:13 +01:00
widgets Fusion icons: fix artifacts in media icons 2024-02-19 21:09:30 +01:00
xml QDom: give name to all anonymous parameters as well as too generic ones 2024-02-08 14:40:04 +00:00
CMakeLists.txt Add Qt icon library for examples 2023-04-22 18:14:38 +03:00