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

Qt 5 to-do in QVariant

    XMLWordPrintable

Details

    • d8ce52840000553336d6b17795f32471cb0c41e3

    Description

      qtbase/src/corelib/kernel/qvariant.cpp
          \b{Warning:} If the value is convertible to a \l LongLong but is too
          large to be represented in an int, the resulting arithmetic overflow will
          not be reflected in \a ok. A simple workaround is to use QString::toInt().
          Fixing this bug has been postponed to Qt 5 in order to avoid breaking existing code.
      

      If it is still desirable to fix this for Qt 5, it should be actioned before Qt 5.0.0. If not, the comment should be removed or changed to a Qt 6 to-do.

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes