<div dir="ltr">Forget it, PyDev was misconfigured. the crash did not happend in console. sorry for the trouble.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 28, 2019 at 5:02 PM Maxime Lemonnier <<a href="mailto:maxime.lemonnier@gmail.com">maxime.lemonnier@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi, there seems to be a problem with latest pip versions of PyQtChart/PyQt5 (5.12). It was working fine with 5.9 iirc.</div><div dir="ltr"><br></div><div dir="ltr">Thank you very much!<br><div><br></div><div><div>------------- main.py ----------------</div><div>import sys</div><div><br></div><div>from PyQt5.QtCore import QUrl</div><div>from PyQt5.QtGui import QGuiApplication</div><div>from PyQt5.QtQuick import QQuickView</div><div><br></div><div><br></div><div>if __name__ == '__main__':</div><div>    app = QGuiApplication(sys.argv)</div><div>    view = QQuickView()</div><div>    view.setSource( QUrl.fromLocalFile('whatever.qml') )</div><div>    view.show()</div><div>    QGuiApplication.processEvents()</div><div>    print('end') #<---- will never reach here!</div></div><div><br></div><div>------------- whatever.qml --------------</div><div><div>import QtQuick 2.5</div><div>import QtCharts 2.3</div><div><br></div><div>Rectangle</div><div>{</div><div>    height: 800</div><div>    width: 800</div><div>    color: "blue"</div><div><br></div><div>        ChartView {</div><div>        title: "Line"</div><div>        anchors.fill: parent</div><div>        antialiasing: true</div><div><br></div><div>        LineSeries {</div><div>            name: "LineSeries"</div><div>            XYPoint { x: 0; y: 0 }</div><div>            XYPoint { x: 1.1; y: 2.1 }</div><div>            XYPoint { x: 1.9; y: 3.3 }</div><div>            XYPoint { x: 2.1; y: 2.1 }</div><div>            XYPoint { x: 2.9; y: 4.9 }</div><div>            XYPoint { x: 3.4; y: 3.0 }</div><div>            XYPoint { x: 4.1; y: 3.3 }</div><div>        }</div><div>    }</div><div>}</div></div></div></div></div>
</blockquote></div>