qt6-bb10/tests/auto/corelib
Fabian Kosmale c46ee7df57 QStringConverter: Do not crash if invalid
Attempting to use an invalid QStringConverter would so far have resulted
in a crash, as we would dereference the null iface pointer.
Fix this by inserting adequate checks, and ensure that hasError returns
true if we attempt to en/decode with an invalid converter.

Pick-to: 6.2 6.3
Change-Id: Icf74bb88cd8c95685481cc0bd512da99b62f33e6
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2022-05-25 16:38:35 +02:00
..
animation Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
global qglobal.h: #include <stdbool.h> in C mode 2022-05-18 09:14:18 -07:00
io Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
itemmodels Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
kernel Compile-time generate a JNINativeMethod from a C function 2022-05-23 21:12:06 +02:00
mimetypes Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
platform Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
plugin Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
serialization Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
text QStringConverter: Do not crash if invalid 2022-05-25 16:38:35 +02:00
thread Remove manual declarations of qGlobalPostedEventsCount() 2022-05-18 17:54:15 +02:00
time Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
tools Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt Add tests for QAndroidApplication's sdkVersion and activity 2021-05-13 01:41:36 +03:00