[PyQt] pyQt5.7 and QtQuick

Sacha Schutz sacha at labsquare.org
Sat Oct 8 22:12:07 BST 2016


I think I am not alone with this bug  :
http://stackoverflow.com/questions/39381009/simple-pyqt5-qml-application-causes-segmentation-fault

2016-10-08 23:09 GMT+02:00 Sacha Schutz <sacha at labsquare.org>:

> Hi
>
> I can't make a qml application. I get a segmentation fault each time. It
> only happen with QML. Everything works fine with QtWidgets.
> I am using Python3.5 -  on kubuntu xenial.  I installed pyQt5-5.7 using
> pip in a virtualenv.
> Here is the code and the error .
> Thanks to tell me what's wrong.
>
> import sys
> from PyQt5 import QtGui, QtQml, QtCore
>
> if __name__ == "__main__":
>     app = QtGui.QGuiApplication(sys.argv)
>     engine = QtQml.QQmlApplicationEngine()
>     engine.load(QtCore.QUrl("Test.qml"))
>
>     sys.exit(app.exec_())
>
>
> I get the following error :
> [1]    14483 segmentation fault (core dumped)  python app.py
>
> GDB return me :
>
> Thread 5 "QSGRenderThread" received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7fffde2c6700 (LWP 14542)]
> __strstr_sse2_unaligned () at ../sysdeps/x86_64/multiarch/
> strstr-sse2-unaligned.S:40
> 40      ../sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: Aucun
> fichier ou dossier de ce type.
>
>
>
>
>
> --
> --
> Sacha schutz
> Interne en Biologie mol├ęculaire
> Bioinformaticien
> +33651571606
> dridk.me
> Fork me on github <https://github.com/>
>
>


-- 
-- 
Sacha schutz
Interne en Biologie mol├ęculaire
Bioinformaticien
+33651571606
dridk.me
Fork me on github <https://github.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20161008/a0253584/attachment.html>


More information about the PyQt mailing list