Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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



  • 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?



  • 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.


Log in to reply