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

QPicture is hardwired to use a QDataStream version corresponding to Qt 4.5 if the current release is requested

    XMLWordPrintable

Details

    • 78f6d144d6c1d0ed6880bbf99310fe03e8502567

    Description

      The documentation for QPicture says the following:

      Note that the default formatVersion is -1 which signifies the
      current release, i.e. for Qt 4.0 a formatVersion of 7 is the same
      as the default formatVersion of -1.

      However, this uses a hardwired version number at the top of QPicture.cpp, "mfhdr_maj", which is currently set to 11. This is the version number of Qt 4.5. The latest version of QDataStream is in fact 12, in the 4.7 stream at least (see QDataStream.h).

      Attachments

        Issue Links

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

          Activity

            People

              mitch_curtis Mitch Curtis
              jlarcombe James Larcombe
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes