These are chat archives for PySide/pyside2

11th
Feb 2016
Ethan Smith
@ethanhs
Feb 11 2016 00:14
@thopiekar have you seen the old instructions for compiling pyside for android? It may help in your endeavours
Ethan Smith
@ethanhs
Feb 11 2016 00:19
https://github.com/ssorgatem/PySide/tree/android has patches to Pyside (an older version) that is made for Android
Christian Tismer
@ctismer
Feb 11 2016 09:01
@kpasko the first source of information about anything should be a search on the Qt5 site:
http://doc.qt.io/qt-5/search-results.html?q=opengl
Questions which are not answered by such a search need to be answered by searching through the qt5 sources (I always use homebrew)
Almost every info that I needed for doing the port was found this way.
Christian Tismer
@ctismer
Feb 11 2016 09:09
Concerning support of the old OpenGL module: I really don’t want to support that. Let us support the new classes in QtGui, instead.
kpasko
@kpasko
Feb 11 2016 10:10
@ctismer not as simple as that i'm afraid
as mentioned previously, understood about qopengl module, was deceived by its presence in pyside2.all ; issue is that no new gl classes are in qtgui module from python, and no gl symbols show up in the .so either (with standard setup script)
Christian Tismer
@ctismer
Feb 11 2016 12:12
If it's in PySide2.all, then this is my fault that I removed opengl, but not that name. What PySide2 does is just what we came up with. Everything relevant is somewhere in the qt5 source. You might try this and see where opengl is:
grep -rin 'opengl' /usr/local/Cellar/qt5/5.5.1_2/include/ | less
@kpasko besides lots of private stuff, you will find it below QtGui. If I'm not mistaken ;-)
Thomas Karl Pietrowski
@thopiekar
Feb 11 2016 13:47
@ctismer : @kpasko is right. There is no OpenGL in QtGui at the moment. When running CMake it is looking for the GL.h, but QtGui is not built with it.
Christian Tismer
@ctismer
Feb 11 2016 15:30
I can't see what you mean. There is http://doc.qt.io/qt-5/qt5-intro.html
which tells about opengl in 'Amazing Graphics Capability and Performance'.
My guess is that we are supposed to use http://doc.qt.io/qt-5/qt3d-overview.html
or re-activate the old opengl module which is still there. But I don't like to go back.
True, the QtGui stuff was wrong/misleading.
anatoly techtonik
@techtonik
Feb 11 2016 19:46
OpenGL is deprecated itself. Waiting for Vulcan.
How to test PySide2 binaries? Builds are still failing for both platforms https://github.com/PySide/pyside2-setup#pyside2
kpasko
@kpasko
Feb 11 2016 23:47

http://doc.qt.io/qt-5/qtgui-index.html, "OpenGL and OpenGL ES Integration

" seems to imply that gl classes should just be in the standard qtgui module...