[PyQt] Debugging QML for a PyQt5 Application

Cody Scott cody at perspexis.com
Wed Dec 7 18:40:27 GMT 2016


Hey Pete,

Thanks, I was able to build PyQt5 with the debug flag and debug with Qt
Creator.

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20161207/2ecc7175/attachment-0001.html>


More information about the PyQt mailing list