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

Qt 5 to-do in QPixmap code

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.0.0 Beta 1
    • None
    • Image formats
    • None
    • 8aa0be210a417d3e3955a3add5d57efe2565d774

      qtbase/src/gui/image/qimagepixmapcleanuphooks.cpp
      // Legacy, single instance hooks: ### Qt 5: remove
      typedef void (*_qt_pixmap_cleanup_hook)(int);
      typedef void (*_qt_pixmap_cleanup_hook_64)(qint64);
      typedef void (*_qt_image_cleanup_hook)(int);
      Q_GUI_EXPORT _qt_pixmap_cleanup_hook qt_pixmap_cleanup_hook = 0;
      Q_GUI_EXPORT _qt_pixmap_cleanup_hook_64 qt_pixmap_cleanup_hook_64 = 0;
      Q_GUI_EXPORT _qt_image_cleanup_hook qt_image_cleanup_hook = 0;
      Q_GUI_EXPORT _qt_image_cleanup_hook_64 qt_image_cleanup_hook_64 = 0;
      

      These symbols are exported, but not public (i.e. not declared in a header file), so one could argue either way as to whether this would be a source-compatible change. The symbols should be removed or the comment should be removed or updated to a Qt 6 to-do.

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

            kkalland Kim Motoyoshi Kalland (Inactive)
            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes