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

QGLWidget samples returns different value in Qt 5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.0.1
    • 5.0.0
    • GUI: OpenGL
    • None
    • Microsoft Windows 7 Ultimate 64-bit SP1
      NVIDIA GeForce GTS 250 (301.42 driver)
      Qt 5 with desktop OpenGL
    • aa90f78a34bb1b8b0d185504c97b0b5cec5c66da

    Description

      Using the following code:
      QGLFormat format(QGL::SampleBuffers);
      QGLWidget testGLWidget(format);
      qDebug() << testGLWidget.format().samples();

      In Qt 4, samples() returns 4.
      In Qt 5, samples() returns 1.

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            net147 Jonathan Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes