[Interest] QML debugger doesn't work for big cmake-based project

Alexander Ivash elderorb at gmail.com
Fri Aug 11 16:48:43 CEST 2017

I'm experiencing issues with enabling QML debugger for huge
cmake-based project. I've added add_definitions(-DQT_QML_DEBUG) and
enabled checkbox in Qt Creator but breakpoints never triggered. On
launching debugger I see 'QML debugging is enabled. Only use this in a
safe environment.' but don't see 'Waiting for connnection...', so it
looks line debugger is not completely initialized. To check if this
might be the case I've tried to launch application with
and attach to 62629 with QtCreator - it failed to attach.

>From the other side in newly-created sample cmake-based 'hello world'
application QML debugger works just fine in both cases (when initiated
by QtCreator and when initiated manually with QtCreator attached
later) so this is not an issue with environment/Qt installation.

What might be wrong? Is there any logs from QML debugger which I can review?

More information about the Interest mailing list