[PyQt] Issue compiling latest PyQt5 snapshot on Linux

2013-07-30 Thread Detlev Offenbach
Hello, compiling latest PyQt5 snapshot on Linux fails because file qpyqmlsingletonobject.h contains an include statement for QQMlEngine. However, that should read QQmlEngine, i.e. lowercase M. Detlev-- *Detlev Offenbach* det...@die-offenbachs.de __

Re: [PyQt] Using SIP wrappers for extension modules in python IDEs

2013-07-30 Thread Kenneth Miller
So, I found out that there are some .api files that the tool that I'm using loads and parses. I'm pretty sure that SIP more than likely generated these, but I'm not sure because I'm not the most familiar with SIP. I updated the stack overflow question, but I'm pretty sure that the answer is no,

[PyQt] PyQt5.uic.loadUi sometimes fails when connecting signals

2013-07-30 Thread Roger Leigh
Hi all, I'm getting this error when I use loadUi(): Traceback (most recent call last): File "./testui", line 26, in t = Test() File "./testui", line 13, in __init__ self.ui = uic.loadUi("test-broken.ui", self) File "/usr/lib/python3/dist-packages/PyQt5/uic/__init__.py", line 224, i

[PyQt] how to use the button to control the program

2013-07-30 Thread 吉文
Hi,all, I want to use a button to control when the program start in pyqt4, in other words, when I press the start button, the program will work. I wrote some code, but it doesn't work. please help me to correct it. Thanks in advance. Best regards Harry import sys from PyQt4 import QtGui from PyQt