On 4 Oct 2016, at 5:57 am, John Ladasky <john_lada...@sbcglobal.net> wrote:
> 
> On Monday, October 3, 2016 at 1:30:29 AM UTC-7, Phil Thompson wrote:
>> On 3 Oct 2016, at 4:29 am, John Ladasky <j...@s...net> wrote:
> 
>>> And as you can see: trying to call versionFunctions() is exactly where my 
>>> program failed.
>> 
>> Try passing a QOpenGLVersionProfile object to versionFunctions() that has a 
>> version set to one supported by PyQt.
> 
> Hi Phil,
> 
> I'm trying to follow your advice.  It's strange, "from PyQt5.QtGui import 
> QOpenGLVersionProfile" works fine, and I can make an object of that type.
> 
> However: http://pyqt.sourceforge.net/Docs/PyQt5/ DOES NOT DOCUMENT 
> QOpenGLVersionProfile.  I did find Qt documentation, at 
> http://doc.qt.io/qt-5/qopenglversionprofile.html.  I will investigate this 
> issue further.  Sometimes it isn't obvious how the C++ constructors are 
> wrapped in Python.

QOpenGLVersonProfile missing from the docs is a bug.

> If I ever understand a GUI like PyQt5 well enough, I'd like to contribute to 
> its documentation.  Sigh.

If you are an OpenGL expert then you could help a lot by answering my questions 
about how individual functions should be bound.

Phil
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to