Ivan SolovevandQt Cherry-pick Bot 896d3e693a QMetaObject::normalizedType: handle nullptr
The type normalization code was crashing when passing a nullptr.
Fix it by explicitly checking the begin == end case in QTypeNormalizer
code.

Modify the test code to make the difference between a nullptr and an
empty string obvious, and add test-casees to cover these corner cases.

Amends 4dbac23e53 which was added for
Qt 6.0, so pick to all active Qt 6 branches.

Pick-to: 6.5
Change-Id: I0f6855d19146f18170c34061f0631f9192df8bad
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
(cherry picked from commit 7fec2a2594de9dcfe019546cc8026bccabd12648)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 6cf7de8f1d8ea6ff99daef04f1b47c7c7c8de923)
(cherry picked from commit 530c29acfef843eefc8cbff7080e83023072f106)
2025-07-03 14:14:44 +00:00
2024-11-07 08:38:49 +01:00
2025-04-29 21:08:00 +03:00
2025-03-25 12:39:21 +00:00
2024-02-02 15:23:02 +00:00
S
Description
No description provided
355 MiB
Languages
C++ 83.9%
HTML 5%
C 3.9%
CMake 3.5%
Objective-C++ 2%
Other 1.1%