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

QGLFormat: setVersion and setProfile don't work in Qt 4.7betas

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 4.7.0
    • GUI: OpenGL
    • None
    • OS: OpenSUSE 11.2 64bit,
      Graphics card: Nvidia GTX260,
      driver: NVIDIA-Linux-x86_64-195.36.07.04 (OpenGL 3.3 support).

    Description

      I want to create OpenGL 3.2 core profile context like this.
      QGLFormat format;
      format.setVersion(3,2);
      format.setProfile(QGLFormat::CompatibilityProfile);
      QGLFormat::setDefaultFormat(format);

      After the creation of QGLWidget, I check the OpenGL version and profile type. However, the results are 3.3 and unknown profile (value 0).
      It seems that the setting of QGLFormat does not work.

      Attachments

        Issue Links

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

          Activity

            People

              kjernase Trond Kjernåsen (Inactive)
              zhaopengqt ZHAO Peng
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes