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

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

XMLWordPrintable

    • 9bbeb7e6e8fb0fdd743b741dce61543fc4246ee2 (qt/qtbase/5.12)

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes