[PyQt] Windows OpenGL errors
phil at riverbankcomputing.com
Sat Aug 12 09:09:56 BST 2017
On 12 Aug 2017, at 2:46 am, Simon, Stuart A. <ssimo3 at lsuhsc.edu> wrote:
> I am not sure why this message is not in the archives. I assume that it was not sent because I was not a member of the mailing list at the time. I very consciously chose not to subscribe because of all the mass mailings I get that are off-topic. I expected that I would have received an ACCESS DENIED message (or something similar) in my inbox. Be that as it may, I subscribed reluctantly. Many more recent conversations than this one are in the archive now.
> In a nutshell: I am getting LOTS of OpenGL errors on Windows when I try to use QtWebEngine on Windows, too many and too redundant for a screenshot. I've VERY consciously appealed this problem to the PyQt developers first, even though there are fewer of them than those who work with Qt/C++. Why? I have good reason to suspect that the PyQt developers were so eager to rush out compliance with Qt with respect to the implementation of QtWebEngine and the deprecation of QtWebKit that they were unaware that the QtDevelopers were running ahead at the same pace. Qt 5.4 was the first to use a dynamic OpenGL implementation, which loads ANGLE only as a fallback. I suspect that PyQt may still be using ANGLE by default, and I want to determine if it is being used and, if so, disable it. And for that, I need to know where Qt itself resides in the PyQt structure, if anywhere.
> Hopefully this will go out, and people won't think it's too long. I myself fear that if I am too brief, I am unclear.
PyQt knows nothing about the OpenGL implementation used by Qt, ANGLE or otherwise.
You might want to try getting the relevant Qt C++ examples working with your setup.
> From: Simon, Stuart A.
> Sent: Monday, August 7, 2017 11:07 AM
> To: pyqt at riverbankcomputing.com
> Subject: Windows OpenGL errors
> Dear PyQt Users:
> I want to use a thin wrapper such as QtWebEngine on a Web GUI that makes use of AngularJS and Bootstrap to lay itself out. My application is running fine on a Mac, including using qt.webChannelTransport and waiting to bootstrap the Angular application until called inside the QtWebChannel init callback. But my application is not working on Windows 7, where I am getting OpenGL error after OpenGL error. The callback is being fired, but it has no access to either console (for debugging) or to the “objects” property of the “channel” object passed as an argument to the callback. It is as though the argument is not being passed to the callback at all.
> As far as I can tell, I am using OpenGL_ES.
> qputenv(“QTWEBENGINE_REMOTE_DEBUGGING”, 12345)
> and then I will get the Chrome Dev Tools at http://localhost:12345.
> I am trying to switch to cefpython. But that comes with its own set of problems in using py2exe, pyinstaller, and cx_freeze. I want to distribute my app to a few people who will need it but who themselves do not have Python.
> Stuart Simon
> Graphics Specialist
> LSU Human Development Center
> 411 S Prieur St
> New Orleans, LA 70112
> PyQt mailing list PyQt at riverbankcomputing.com
More information about the PyQt