Hi, I'm new to PyQt (and pretty new to Python and Qt in general) and I'm trying to get some basic widgets to work. I've created a MainWindow with QtDesigner and compiled it with: pyuic4 -o tagebuchhauptfenster.py tagebuch.ui
There doesn't seem to be an error; pyuic4 doesn't report anything, pyuic4 with -d for debugging just tells me what it's added and seems to terminate normally: -snip- PyQt4.uic.uiparser: new topwidget None PyQt4.uic.uiparser: add action actionBeenden to menuDatei PyQt4.uic.uiparser: add action actionSchliessen to menuTagebuch PyQt4.uic.uiparser: add action menuDatei to menubar PyQt4.uic.uiparser: add action menuTagebuch to menubar -End- In my folder, there are now: - tagebuch.py - tagebuch.ui - tagebuchhauptfenster.py Similar to http://openbook.galileocomputing.de/python/python_kapitel_24_003.htm#t2t33, I've written my implementation: http://de.pastebin.ca/1561360 However, everytime I execute it, I get this: [i...@hal KDE-GUI-Sachen]$ python tagebuch.py 1 2 4 5 Speicherzugriffsfehler [segmentation fault] It crashes with setupUi(self). Usually I'd just assume that I've messed up my implementation, but when I call dmesg, I get this which I think is very strange: python[4679]: segfault at 8 ip 00007f5e7036f4de sp 00007fffcfa12590 error 4 in libkdecore.so.5.3.0[7f5e701dd000+276000] I get one new error every time I execute tagebuch.py, altough I'm not even using anything KDE related in any of my files (yet), am I? On my machine, I'm using KDE 4.3.1 and Qt 4.5.2. As I'm using Arch Linux, I don't have a normal KDE version installed but the so called KDEmod and qtmod. This of course might have to do with it, but I don't understand why libkdecore.so is even used. Seems like I'm lacking proper background here. I haven't found anything libkdecore related about that on the internet, so what you hopefully can give me is a hint where to look at, where to go from here. Thanks in advance Moritz _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
