Montag, 26. August 2013

Using PyQt 5 with Spyder. Some crashes and a new idea.

So after doing the stuff I posted earlier, I went on to test a simple QtQuick app.
A simple red rectangle worked okay, but everything seemed to be very unstable. I got many crashes and freezes. Something was really fucked up. After experimenting on that setup for almost a full day, I uninstalled PyQt 5 with nmake uninstall and PyQt 4 with its uninstaller. I installed the binary package of PyQt 5 and tested my qml file.

It just worked fine. No crashes, no instabilities, no nothing.

It appears that my custom built was somehow corrupted, probably from the beginning or that there are some things to do in addition. I copied the PyQt 5 folder out of the site-packages folder of python, uninstalled it, reinstalled PyQt 4 and then copied PyQt 5 back to site-packages. Updated the module name list and BANG, it works. Don't now why this didn't occur to me earlier... 

1 Kommentar:

Ivo-Robben hat gesagt…

Hallo :) Wieso kein tumblr?