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

GrayScale enum value conflicts with #define from X.h

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.3.1
    • QPA: X11/XCB
    • None

    Description

      x11proto's X.h #define's GrayScale, but QtGui/qpixelformat.h has an enum value named GrayScale as well. The result is that, if an application includes both of these headers, one gets a compile error.

      Attachments

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

        Activity

          People

            paeglis Gatis Paeglis
            cmdrmoozy Axel Rasmussen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes