Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [Solved] Debug C++ QML extension in OS X
Forum Update on Monday, May 27th 2025

[Solved] Debug C++ QML extension in OS X

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 1 Posters 591 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
    Mark Cederholm
    wrote on 7 Mar 2015, 17:43 last edited by Mark Cederholm 3 Oct 2015, 03:23
    #1

    Hi, I've created a C++ QML extension and I want to debug it. In Windows, copying the *d.dll and *d.pdb to the plugin's folder allows me to debug it in Qt Creator. But now I'm trying it in OS X, and copying the *_debug.dylib doesn't seem to be enough to allow me to hit a breakpoint. What am I missing?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Mark Cederholm
      wrote on 10 Mar 2015, 03:22 last edited by
      #2

      Solved: Thanks to Michael Tims of Esri.

      If the release version of the dylib is also present in the folder, rename it so that it doesn't get loaded first. Then I hit my breakpoint just fine.

      1 Reply Last reply
      0

      1/2

      7 Mar 2015, 17:43

      • Login

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