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. QML Debugging with Qt 6
Qt 6.11 is out! See what's new in the release blog

QML Debugging with Qt 6

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
2 Posts 1 Posters 116 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.
  • B Offline
    B Offline
    Bob64
    wrote last edited by
    #1

    Since recently migrating to Qt 6 I have found that QML debugging is basically unusable.

    The debugger keeps breaking in qquickitem.cpp. Not only is there no breakpoint there but it often stopping on a comment line. The problem is that I am trying to debug the creation of a popup on clicking on something and this "breakpoint" triggers, capturing the focus and preventing me from ever getting to the point I want to debug.

    Does this sound like a known issue and/or is there any workaround I could try?

    This is not specific to the Qt Creator version because I was seeing the issue before and after an update I received the other day, and after another update today, to 19.0.0. So, it has happened in at least three versions of Qt Creator. The common thing is that it has been happening since the Qt 6 migration.

    1 Reply Last reply
    0
    • B Offline
      B Offline
      Bob64
      wrote last edited by
      #2

      It was my "Source Paths Mapping" settings in Preferences | Debugger. I needed to update them for Qt6 paths.

      1 Reply Last reply
      2
      • SGaistS SGaist has marked this topic as solved

      • Login

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