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

QOperatingSystemVersion: Adding new const entries in patch releases breaks our BC guarantees

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.15, 6.2, 6.3
    • Fix Version/s: 6.3.0
    • Component/s: Core: Other
    • Labels:
      None
    • Platform/s:
      All
    • Commits:
      3446313c7a5cd6005089866a7b20c9f28e132a0a

      Description

      Each static const entry emits a new symbol. This goes against our BC guarantees for patch versions where we promise that users can freely downgrade the Qt libraries without any recompilation as long as it's inside the same minor version.

      This means we can only effectively add new static const entries to QOperatingSystemVersion in minor releases.

      For Qt 7 the class should be redesigned so that it can have all the entries be inline, and not have them emit symbols.

        Attachments

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

          Activity

            People

            Assignee:
            manordheim Mårten Nordheim
            Reporter:
            manordheim Mårten Nordheim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes