Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Could not connect to the in-process QML profiler

Could not connect to the in-process QML profiler

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 3.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maxwell31
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      maxwell31
      wrote on last edited by
      #2

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

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

      Aleksey_KA 1 Reply Last reply
      1
      • M maxwell31

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

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

        Aleksey_KA Offline
        Aleksey_KA Offline
        Aleksey_K
        wrote on last edited by
        #3

        @maxwell31 does not work for me, get error: Could not connect to the in-process QML profiler within 128 s. Do you want to retry and wait 256 s? Any other ideas?

        Screenshot_20211214_191053.png

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved