Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-102465

Finish migration to qsizetype [QXmlStreamReader]

    XMLWordPrintable

Details

    • 5
    • b94ec982c1 (qt/qtbase/dev) b94ec982c1 (qt/tqtc-qtbase/dev) 2070be1491 (qt/qtbase/6.3)
    • Team B Foundation Sprint 55, Team B Foundation Sprint 56

    Description

      Let's be honest: the change from int to qsizetype sizes in Qt 6.0 was more than rushed. Half the API and a good chunk of implementation code is still using int when it should be using qsizetype, and we have been papering over this issue by making qMin() allow mixed-type arguments and, apparently, by removing the annoying MSVC warnings that, in Qt 5, so nicely pin-pointed all these implicit conversions as hard errors.

      There are several real bugs in the QXmlStream* code corresponding to int/qsizetype.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              mmutz Marc Mutz
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes