As far as I can tell, the reason Qt5 Designer does not load custom PyQt5 widgets
is due to the 'stock' shared library libpyqt5.so (which comes with PyQt5) not
being built for the correct combination of the Python and Qt versions. It seems
the only way to get around this is to build PyQt5 from source so we will have a
libpyqt5.so that is correct and will be able to load the custom widgets.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python2.7 | |
| """Quick hack of 'modern' OpenGL example using pysdl2 and pyopengl | |
| Based on | |
| pysdl2 OpenGL example | |
| http://www.arcsynthesis.org/gltut/Basics/Tut02%20Vertex%20Attributes.html | |
| http://schi.iteye.com/blog/1969710 | |
| """ | |
| import sys |
OlderNewer