Port functions parsing numbers to QStringView


Unlike the pointers which were used before, a QStringView has a defined
end. This keeps us from reading out of bounds and also allows proceeding
to an input's end when an error occurs.

In addition, QStringView offers some higher level functions for
comparing parts of strings. Nevertheless, these shall not be taken into
use here yet, but in separate patches.

Pick-to: 6.11
Change-Id: I139d6c8cc46edcb976eb78ad00d8866875cebaa8
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commit719f948de6d0c5b90ac861e04b409f561720988f
parentc9b94e6bdb2b0a031cdba35375572ecf9e94e455
authorRobert Löhning <robert.loehning@qt.io>
committerRobert Löhning <robert.loehning@qt.io>
commit timeMon, 13 Apr 2026 17:42:32 +0000