<div dir="ltr">The patch worked perfectly! Thank you!!<div><br></div><div>python3 app.py -qmljsdebugger=port:9030,block</div><div>QML debugging is enabled. Only use this in a safe environment.</div><div>QML Debugger: Waiting for connection on port 9030...</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 25, 2013 at 10:15 AM, Phil Thompson <span dir="ltr"><<a href="mailto:phil@riverbankcomputing.com" target="_blank">phil@riverbankcomputing.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 25 Oct 2013 09:23:45 -0700, David Feinberg <<a href="mailto:david@rawberg.com">david@rawberg.com</a>><br>

wrote:<br>
<div><div class="h5">> According to the Qt Creator docs (CONFIG+=qml_debug) enables debugging<br>
for<br>
> Qt Quick 2 applications (Qt5) while (CONFIG+=declarative_debug) is for<br>
Qt<br>
> Quick 1 apps.  Is it possible to set the qml_debug flag somehow in a<br>
PyQT5<br>
> app?<br>
><br>
<a href="http://doc-snapshot.qt-project.org/qtcreator-2.8/creator-debugging-qml.html" target="_blank">http://doc-snapshot.qt-project.org/qtcreator-2.8/creator-debugging-qml.html</a><br>
><br>
> To debug already running applications:<br>
> Build the application by using the appropriate configuration parameters<br>
> (if you build the application with Qt Creator, it automatically uses the<br>
> correct configuration):<br>
> Qt Quick 1: CONFIG+=declarative_debug<br>
> Qt Quick 2: CONFIG+=qml_debug<br>
> Start the application with the following arguments:<br>
> qmljsdebugger=port:<port>[,host:<ip address>][,block]<br>
> Where port (mandatory) specifies the debugging port, ip address<br>
(optional)<br>
> specifies the IP address of the host where the application is running,<br>
and<br>
> block (optional) prevents the application from running until the debug<br>
> client connects to the server. This enables debugging from the start.<br>
> Select Debug > Start Debugging > Attach to QML Port.<br>
> Choose the kit configured for the device where the application to be<br>
> debugged is running. The port number to use is displayed in the standard<br>
> output when the application starts.<br>
<br>
</div></div>Try the attached patch.<br>
<span class="HOEnZb"><font color="#888888"><br>
Phil</font></span></blockquote></div><br></div>