[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Simultaneous use of QVideoWidget/QMediaPlayer and QQuickWidget segfaults on macOS with Py
From:       Cody Scott <cody () perspexis ! com>
Date:       2017-08-08 21:23:40
Message-ID: CAN04N8aQCmL-i8=RzaO2eb+h3DWh9wxdLYPBZ_mh3hEEw_pCwA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Windows 10, I don't get a segfault. I do see a warning in the command
prompt.

QQuickWidget cannot be used as a native child widget. Consider setting
Qt::AA_DontCreateNativeWidgetSiblings

On Mon, Aug 7, 2017 at 5:00 AM, Phil Thompson <phil@riverbankcomputing.com>
wrote:

> On 7 Aug 2017, at 1:23 am, Nicolas de Maubeuge <
> nicolas.de.maubeuge@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
> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[Attachment #5 (text/html)]

<div dir="ltr">On Windows 10, I don&#39;t get a segfault. I do see a warning in the \
command prompt.<div><br><div>QQuickWidget cannot be used as a native child widget. \
Consider setting Qt::AA_DontCreateNativeWidgetSiblings<br></div></div></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 7, 2017 at 5:00 AM, Phil \
Thompson <span dir="ltr">&lt;<a href="mailto:phil@riverbankcomputing.com" \
target="_blank">phil@riverbankcomputing.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><span class="">On 7 Aug 2017, at 1:23 am, Nicolas de Maubeuge \
&lt;<a href="mailto:nicolas.de.maubeuge@gmail.com">nicolas.de.maubeuge@gmail.com</a><wbr>&gt; \
wrote:<br> &gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; It appears that using a QVideoWidget and a QQuickWidget in the same PyQt5 \
application causes a segmentation fault on macOS.<br> &gt;<br>
&gt; The issue happens when a MediaPlayer connected to the QVideoWidget plays the \
video with mediaPlayer.play().<br> &gt; 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.<br> &gt;<br>
&gt; Attached is a small test code that demonstrates the problem as well as a core \
dump.<br> &gt; This issue only affects macOS as the previous code runes fine on \
Windows and Linux<br> &gt;<br>
&gt; Any help would be appreciated.<br>
<br>
</span>Seems to work fine for me.<br>
<br>
Phil<br>
______________________________<wbr>_________________<br>
PyQt mailing list      <a \
href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br> <a \
href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" \
target="_blank">https://www.<wbr>riverbankcomputing.com/<wbr>mailman/listinfo/pyqt</a></blockquote></div><br></div>



[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic