Important: Please read the Qt Code of Conduct -

Could not connect to the in-process QML profiler

  • Hi,

    I am using QtCreator and cmake. I would like to use the QML profiler. Under Run Settings in Projects I enabled the Enable QML checkbox under Debugger Settings. What can I do to make this work?

  • One needs to add
    #include <QQmlDebuggingEnabler>
    QQmlDebuggingEnabler enabler;

    If this is in the documentation, it is not at a very prominent place

Log in to reply