On 02/19/2013 12:52 AM, mikeschneider wrote:
Not solved, but..
I created a VM with Debian Squeeze, installed pyqt4 and graph-tool from the repo provided. Code works just fine. I created a second VM with Ubuntu 12.04 (what I'm using now). Installed pyqt4 and graph-tool. The error pops up.
When I run main.py in gdb, I can see that gtk is actually being called when I import qt4. I don't know what specifically in pyqt4 is triggering this.
Here is a possibility: You can configure Qt to use a native GTK theme, via QGtkStyle. This will actually use GTK+ to draw the widgets, and load the library. If you are using this, than this may be your problem. Try changing the QT theme to see if it has any effect. Cheers, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>