← Back to team overview

touch-packages team mailing list archive

[Bug 1245262] Re: Creating an OpenGL context and specifying a version, always returns a Core Profile context

 

[Expired for qtbase-opensource-src (Ubuntu) because there has been no
activity for 60 days.]

** Changed in: qtbase-opensource-src (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1245262

Title:
  Creating an OpenGL context and specifying a version, always returns a
  Core Profile context

Status in “qtbase-opensource-src” package in Ubuntu:
  Expired

Bug description:
  I maintain a QT5 application that uses OpenGL. I just upgrated to
  Ubuntu 13.10 and relised my application was broken.

  After some debugging I found the offending code:

      QGLFormat base_format;
      base_format.setProfile(QGLFormat::CompatibilityProfile);
      base_format.setVersion(3, 3);

  When running this with any version number higher than 3, it always
  returns a core profile and results in most QPainter related calls
  failing with:  "Implicit version number 110 not supported by GL3
  forward compatible context". If I dont set the version, I get a
  compatibility profile with the latest context supported by the driver.

  I run the AMD flgrx driver as shipped with Ubuntu. I've not tested
  this on a NVidia card, so I don't know if this is a QT or flgrx bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1245262/+subscriptions