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

Documentation states that painting outside GUI Thread to QPixmaps is not supported

    XMLWordPrintable

Details

    • All
    • ecf4e5bbce (qt/qtdoc/dev) ecf4e5bbce (qt/tqtc-qtdoc/dev)

    Description

      The documentation at https://doc.qt.io/qt-6/threads-modules.html states that: "Painting onto QPixmaps and QWidgets is not supported."

      Reading the code of QPainter, specifically "qt_painter_thread_test" seems to imply though that this IS in fact supported as long as the platformintegration supports it, see QPlatformIntegration::ThreadedPixmaps and QPlatformIntegration::ThreadedOpenGL.

      The documentation should be amended in this regard.

      Attachments

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

        Activity

          People

            vgt Eirik Aavitsland
            madwinter Marcus Tillmanns
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes