<div dir="ltr"><div>Hi <br><br>I can't make a qml application. I get a segmentation fault each time. It only happen with QML. Everything works fine with QtWidgets. <br></div><div>I am using Python3.5 - on kubuntu xenial. I installed pyQt5-5.7 using pip in a virtualenv. <br></div><div>Here is the code and the error .<br></div><div>Thanks to tell me what's wrong. <br></div><div><br>import sys<br>from PyQt5 import QtGui, QtQml, QtCore<br><br>if __name__ == "__main__":<br> app = QtGui.QGuiApplication(sys.argv)<br> engine = QtQml.QQmlApplicationEngine()<br> engine.load(QtCore.QUrl("Test.qml"))<br><br> sys.exit(app.exec_())<br><br><br></div><div>I get the following error : <br>[1] 14483 segmentation fault (core dumped) python app.py<br><br></div><div>GDB return me : <br><br>Thread 5 "QSGRenderThread" received signal SIGSEGV, Segmentation fault.<br>[Switching to Thread 0x7fffde2c6700 (LWP 14542)]<br>__strstr_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S:40<br>40 ../sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: Aucun fichier ou dossier de ce type.<br><br></div><div><br><br><br></div><div><div><div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">-- <br>Sacha schutz<br></div><div>Interne en Biologie moléculaire<br></div><div>Bioinformaticien<br></div><div dir="ltr"><div>+336<span style="background-color:rgb(255,255,255);color:rgb(51,51,51);font-family:"lucida grande",tahoma,verdana,arial,sans-serif;font-size:13px;line-height:18px;text-align:left">51571606<br></span></div><div><span style="background-color:rgb(255,255,255);color:rgb(51,51,51);font-family:"lucida grande",tahoma,verdana,arial,sans-serif;font-size:13px;line-height:18px;text-align:left"><a href="http://dridk.me" target="_blank">dridk.me</a><br></span></div><div><span style="background-color:rgb(255,255,255);color:rgb(51,51,51);font-family:"lucida grande",tahoma,verdana,arial,sans-serif;font-size:13px;line-height:18px;text-align:left"><a href="https://github.com/" target="_blank">Fork me on github</a><br></span></div><div><br></div></div></div></div></div></div></div>
</div></div></div></div>