I'm trying to embed pymol into a PyQt application. I'm using this QGLWidget: https://gist.github.com/masci/6437112
In my linux machine running OpenSuse 12.3 and Pymol 1.6 it works correctly.
Unfortunately, I cannot make it work in my MacBook Pro running OSX 10.7 and compiled pymol 1.6 from source following instructions.
To reproduce the error, in a python shell:
p = pymol2.PyMOL()
And I get a 'Segmentation fault: 11' error. I tried re-compiling pymol and still error persists. Any help, comments or guidance will be highly appreciated! Where should I start debugging?