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

The Qt5 QPen defaults to width 1 instead of 0: needs better documentation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.0.0, 5.0.1, 5.0.2, 5.1.0
    • Fix Version/s: 5.1.0
    • Labels:
      None
    • Commits:
      6486141f2c34b3b69b65a9fe5e321e30b70b1941

      Description

      QPen default width as been changed following a dev mailing list discussion initiated by Bache-Wiig Jens (http://lists.qt-project.org/pipermail/development/2012-October/007026.html).
      I understand the rationale of the change, but i think that the impact on existing code was underestimated, as if no-one was using (implicit) cosmetic pens, or not caring. And NB all graphic items containing pens are affected.
      At least, the documentation should be updated, and that change should be part of documented porting issues.

        Attachments

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

          Activity

            People

            Assignee:
            sletta Gunnar Sletta
            Reporter:
            idiallo Ilya Diallo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes