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

Undocumented Qt 5 / 6 incompatibility

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 6.1.1
    • GUI: Painting
    • None

    Description

      Qt 6 changes arguments in the QColor class from qreal to float.

      This change was introduced in this commit: https://github.com/qt/qtbase/commit/5bb4baae0379d5903f547f0399be9620f5ab06a0

      It's a significant breaking change for my use case, because I was taking the address of such functions, as well as other functions that take qreal arguments. The qreal versions weren't marked as obsolete so the change came out of nowhere and is undocumented.

      To be honest if there isn't a good reason to remove qreal overloads maybe they should be re-introduced and marked as obsolete?

      Attachments

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

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            glax Mattia Basaglia
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes