<div dir="ltr">Works fine with the latest snapshot.<div>Thanks</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-29 15:02 GMT+01:00 Phil Thompson <span dir="ltr"><<a href="mailto:phil@riverbankcomputing.com" target="_blank">phil@riverbankcomputing.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 27/01/2015 12:36 am, Fabien Castan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Here is a minimal example.<br>
Thanks<br>
</blockquote>
<br></span>
Works fine for me.<span class="HOEnZb"><font color="#888888"><br>
<br>
Phil</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2015-01-27 1:20 GMT+01:00 Phil Thompson <<a href="mailto:phil@riverbankcomputing.com" target="_blank">phil@riverbankcomputing.com</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 27/01/2015 12:14 am, Fabien Castan wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
I still have the problem with the latest snapshot<br>
"PyQt-gpl-5.4.1-snapshot-<u></u>55f521ae431b".<br>
<br>
#0  pthread_cond_wait@@GLIBC_2.3.2 () at<br>
../nptl/sysdeps/unix/sysv/<u></u>linux/x86_64/pthread_cond_<u></u>wait.S:185<br>
#1  0x00007ffff01f9b03 in QWaitCondition::wait(QMutex*, unsigned long) ()<br>
from /opt/Qt5.4/5.4/gcc_64/lib/<u></u>libQt5Core.so.5<br>
#2  0x00007fffec5cc7c2 in ?? () from<br>
/opt/Qt5.4/5.4/gcc_64/lib/<u></u>libQt5Qml.so.5<br>
#3  0x00007fffec570134 in ?? () from<br>
/opt/Qt5.4/5.4/gcc_64/lib/<u></u>libQt5Qml.so.5<br>
#4  0x00007fffec570590 in ?? () from<br>
/opt/Qt5.4/5.4/gcc_64/lib/<u></u>libQt5Qml.so.5<br>
#5  0x00007fffec5536dd in QQmlComponentPrivate::loadUrl(<u></u>QUrl const&,<br>
QQmlComponent::<u></u>CompilationMode) () from<br>
/opt/Qt5.4/5.4/gcc_64/lib/<u></u>libQt5Qml.so.5<br>
#6  0x00007fffe93f5ecf in meth_QQmlComponent_loadUrl () from<br>
/home/fab/Téléchargements/<u></u>ButtleOFX_Alpha_Linux64_v2.0/<br>
py3.3_env/lib/python3.3/site-<u></u>packages/PyQt5/QtQml.so<br>
<br>
Regards,<br>
Fabien<br>
<br>
</blockquote>
<br>
Then I need a complete, small example that demonstrates the problem.<br>
<br>
Phil<br>
<br>
<br>
 2015-01-03 11:23 GMT+01:00 Phil Thompson <<a href="mailto:phil@riverbankcomputing.com" target="_blank">phil@riverbankcomputing.com</a>>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
 On 02/01/2015 11:29 pm, Fabien Castan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
 Hi,<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I have installed Qt5.4 and compiled PyQt5.4 (with python3.4).<br>
But I'm stuck when loading a QML file which uses QtQuick.Dialogs.<br>
<br>
Here is a simple QML example:<br>
<br>
```<br>
<br>
import QtQuick 2.0<br>
<br>
import QtQuick.Controls 1.0<br>
<br>
import QtQuick.Dialogs 1.2 // works fine if you comment this line<br>
<br>
<br>
ApplicationWindow {<br>
<br>
<br>
    id: root<br>
<br>
    title:"Title"<br>
<br>
<br>
    width: 1200<br>
<br>
    height: 800<br>
<br>
}<br>
<br>
```<br>
<br>
<br>
This QML file is loaded without trouble using "qmlscene".<br>
When I load it from PyQt it remains blocked...<br>
If I run python3 inside gdb, and kill the process, I get this backtrace:<br>
<br>
(gdb) bt<br>
#0  pthread_cond_wait@@GLIBC_2.3.2 () at<br>
../nptl/sysdeps/unix/sysv/<u></u>linux/x86_64/pthread_cond_<u></u>wait.S:185<br>
<br>
<br>
</blockquote>
Most likely to be the GIL not being released when it should causing a<br>
deadlock. Hopefully fixed in tonight's snapshot.<br>
<br>
Thanks,<br>
Phil<br>
______________________________<u></u>_________________<br>
PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.<u></u>com/mailman/listinfo/pyqt</a><br>
<br>
</blockquote>
<br>
</blockquote></blockquote></blockquote>
</div></div></blockquote></div><br></div>