[PyQt] pyqt5.1 baffling exceptions: AttributeError: 'Qxxxxxx' object has no attribute 'QWidget'

2013-10-04 Thread Stephen Gava
hi there, i posted an earlier question about one specific instance of this problem which seemed to relate to using QWidget.childAt() (no replies), but now i have the same puzzling issue cropping up in several places in a project i have moved from pyqt4 to pyqt5. under pyqt4 this code ran fine

Re: [PyQt] ImportError: /usr/lib/python3.3/site-packages/PyQt5/QtGui.so: undefined symbol: PyUnicode_DecodeASCII

2013-10-04 Thread bootch
Nevermind, the error is mine: I mistakenly started Python 2.7 and tried to import PyQt5 modules. ( the Python org should improve the error message for this situation where the interpreter and an extension module are compiled with different Unicode implementations.)

[PyQt] ImportError: /usr/lib/python3.3/site-packages/PyQt5/QtGui.so: undefined symbol: PyUnicode_DecodeASCII

2013-10-04 Thread bootch
My environment: Ubuntu 13.04 Qt5.0.1 (as installed by Ubuntu) Python3.3 (as installed by Ubuntu) python3-dev (installed using Ubuntu Software Center) sip-4.15.2 (downloaded) PyQt-gpl-5.0.1 (downloaded) When starting my app: ImportError: /usr/lib/python3.3/site-packages/PyQt5/QtGui.so: undefined s

Re: [PyQt] pyqt5.1 segfault on QShortcut construction

2013-10-04 Thread Phil Thompson
On Fri, 04 Oct 2013 11:17:38 +1000, Stephen Gava wrote: > hi there, i already tried to send a message on this, through gmane, > which never appeared, so apologies if they both turn up on the list. > hereforth let this be the canonical message on this topic (eg. ignore > the other one if it appe

[PyQt] pyqt5.1 fails to build for qt5.01: qpyopengl_api.h:29:33: fatal error: QOpenGLVersionProfile: No such file or directory

2013-10-04 Thread bootch
My environment: Ubuntu 13.04 Qt5.0.1 (as installed by Ubuntu) Python3.3 (as installed by Ubuntu) python3-dev (installed using Ubuntu Software Center) sip-4.15.2 (downloaded) PyQt-gpl-5.1 (downloaded) >cd Down*/PyQt* >python3 configure.py >make yields error in the subject line >qmake -v QMake vers

[PyQt] PyQt5 custom video player using QAbstractVideoSurface

2013-10-04 Thread Timothy W. Grove
Hello Folks! I'm not a C++ programmer, but below is my best attempt at translating a C++ code example found in QtEnterprise for creating a custom video widget using a custom video surface. Please feel free to use it ... if you can get it to work! When I run the code the widget appears okay. T