[PyQt] PyQt5, QtQuick and QCamera

Phil Thompson phil at riverbankcomputing.com
Fri Jul 10 14:49:25 BST 2015


On 01/07/2015 3:50 pm, Robert Kent wrote:
> Hi Guys,
> 
> I wonder if anyone can point out a mistake here or if I have
> encountered a bug. If I try to use a VideOutput element in QML to
> display the live output from QCamera, via setViewfinder, I get a set
> fault. This works fine from C++, but I’m not sure if something is
> different in Python. Example follows (also attached):

It's a SIP bug - fixed in tonight's snapshot.

You can work around the problem by adding...

import PyQt5.QtMultimediaWidgets

Thanks,
Phil


More information about the PyQt mailing list