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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 6.3.0
    • 6.3, 5.15, 6.2
    • Core: Other
    • None
    • All
    • 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

            manordheim Mårten Nordheim
            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