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

Loading QPixmap from a file in non-gui threads is not safe

    XMLWordPrintable

    Details

    • Commits:
      9bbeb7e6e8fb0fdd743b741dce61543fc4246ee2 (qt/qtbase/5.12)

      Description

      Most QPA plugins enable ThreadedPixmap capability and it would seem QPixmap are fine to be used from non-gui threads, however, one of the constructors QPixmap(const QString&, const char *, Qt::ImageConversionFlags) and load() function end up using QPixmapCache which cannot be used from non-gui thread.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                vgt Eirik Aavitsland
                Reporter:
                poikelin Joni Poikelin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes