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

GrayScale enum value conflicts with #define from X.h

XMLWordPrintable

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

      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.

        For Gerrit Dashboard: QTBUG-40087
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes