[PyQt] Debugging QML for a PyQt5 Application

Hans-Peter Jansen hpj at urpla.net
Wed Dec 7 19:27:08 GMT 2016


On Mittwoch, 7. Dezember 2016 13:40:27 Cody Scott wrote:
> Hey Pete,
> 
> Thanks, I was able to build PyQt5 with the debug flag and debug with Qt
> Creator.

Good to know, and thanks for the feedback.

Cheers,
Pete

> On Wed, Dec 7, 2016 at 11:43 AM, Hans-Peter Jansen <hpj at urpla.net> wrote:
> > On Mittwoch, 7. Dezember 2016 10:46:44 Cody Scott wrote:
> > > I'm wondering if it is possible to use the Qt Creator debugger to debug
> > 
> > QML.
> > 
> > > I see that there was an old thread on this mailing list (from 2013) and
> > > someone was able to get it to work.
> > > 
> > > https://riverbankcomputing.com/pipermail/pyqt/2013-October/033373.html
> > > 
> > > Here is the code, just a simple Python and QML file.
> > > 
> > > https://github.com/Siecje/pyqt5-qml-debug
> > 
> > If you build PyQt with the debug flag, the Qt QML debugging infrastructure
> > gets enabled.
> > 
> > I haven't done QML debugging myself, but know about this, because I take
> > care
> > about the packaging of PyQt in openSUSE, where all packages are built with
> > debugging enabled in order to produce debuginfo packages. Hence I've
> > applied a
> > patch to disable the QML debugging for PyQt, since this could generate a
> > security issue for production systems..
> > 
> > Pete
> > _______________________________________________
> > PyQt mailing list    PyQt at riverbankcomputing.com
> > https://www.riverbankcomputing.com/mailman/listinfo/pyqt



More information about the PyQt mailing list