[PyQt] Simultaneous use of QVideoWidget/QMediaPlayer and QQuickWidget segfaults on macOS with PyQt5
Phil Thompson
phil at riverbankcomputing.com
Mon Aug 7 10:00:53 BST 2017
On 7 Aug 2017, at 1:23 am, Nicolas de Maubeuge <nicolas.de.maubeuge at gmail.com> wrote:
>
> Hi,
>
> It appears that using a QVideoWidget and a QQuickWidget in the same PyQt5 application causes a segmentation fault on macOS.
>
> The issue happens when a MediaPlayer connected to the QVideoWidget plays the video with mediaPlayer.play().
> This seems to affect at least PyQt5 with Python 3.6.2, 3.6.1, and 3.5.3 on macOS 10.12. Both QVideoWidget and QuickWidget work fine when used separately, which makes me think this could be either a Qt or PyQt bug.
>
> Attached is a small test code that demonstrates the problem as well as a core dump.
> This issue only affects macOS as the previous code runes fine on Windows and Linux
>
> Any help would be appreciated.
Seems to work fine for me.
Phil
More information about the PyQt
mailing list