[PyQt] PyQtChart Seg Fault

Cody Scott cody at perspexis.com
Wed Nov 30 14:08:01 GMT 2016


Thanks Phil!

Fixing the Import worked. Should I use this import for all QML
applications? Is there a down side?

Also could there be a better error message instead of the Seg Fault?


On Wed, Nov 30, 2016 at 5:26 AM, Phil Thompson <phil at riverbankcomputing.com>
wrote:

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20161130/4278f183/attachment.html>


More information about the PyQt mailing list