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

QWidget::paintEngine() returns 0 on QWS

    XMLWordPrintable

Details

    Description

      On QWS, the implementation of QWidget::paintEngine() prints a warning message and then returns 0. This causes problems for paintEvent() functions that first check the features supported by the paint engine before painting a certain feature. Since this feature is supported on other platforms, and QWidget does have a valid paint engine, it should return a valid pointer.

      At the very least, the fact that this function should not be called on QWS should be documented.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            jabarron Jason Barron
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes