[PyQt] PyQtChart Seg Fault

Phil Thompson phil at riverbankcomputing.com
Wed Nov 30 10:26:27 GMT 2016


On 29 Nov 2016, at 6:54 pm, Cody Scott <cody at perspexis.com> wrote:
> 
> I'm trying to display a QML PieChart taken from the Qt docs
> 
> http://doc.qt.io/qt-5/qtcharts-qmlmodule.html
> 
> I have a simple Python program that just loads the .qml file.
> 
> When I run it I get a Segmentation fault.
> 
> Code, steps to reproduce and output here https://github.com/Siecje/pyqt5chart

QtChart is widget based so you need a QApplication not a QGuiApplication.

Phil


More information about the PyQt mailing list