david at rawberg.com
Sat Oct 26 10:18:21 BST 2013
The patch worked perfectly! Thank you!!
python3 app.py -qmljsdebugger=port:9030,block
QML debugging is enabled. Only use this in a safe environment.
QML Debugger: Waiting for connection on port 9030...
On Fri, Oct 25, 2013 at 10:15 AM, Phil Thompson <phil at riverbankcomputing.com
> On Fri, 25 Oct 2013 09:23:45 -0700, David Feinberg <david at rawberg.com>
> > According to the Qt Creator docs (CONFIG+=qml_debug) enables debugging
> > Qt Quick 2 applications (Qt5) while (CONFIG+=declarative_debug) is for
> > Quick 1 apps. Is it possible to set the qml_debug flag somehow in a
> > app?
> > To debug already running applications:
> > Build the application by using the appropriate configuration parameters
> > (if you build the application with Qt Creator, it automatically uses the
> > correct configuration):
> > Qt Quick 1: CONFIG+=declarative_debug
> > Qt Quick 2: CONFIG+=qml_debug
> > Start the application with the following arguments:
> > qmljsdebugger=port:<port>[,host:<ip address>][,block]
> > Where port (mandatory) specifies the debugging port, ip address
> > specifies the IP address of the host where the application is running,
> > block (optional) prevents the application from running until the debug
> > client connects to the server. This enables debugging from the start.
> > Select Debug > Start Debugging > Attach to QML Port.
> > Choose the kit configured for the device where the application to be
> > debugged is running. The port number to use is displayed in the standard
> > output when the application starts.
> Try the attached patch.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt