GammaRay Inspection Tool & QGC?

Hey guys, I was just tasked to add some functionality to a lightly customized version of QGC, and seeing how the official documentation is pretty useless I tried analyzing the software with GammaRay, but it doesn’t seem to work well. It shows classes and stuff, but the Widget part doesn’t show anything or little to nothing depending on the attachment mode to QGC.
Has anyone here been able to use GammaRay or any other inspection tool successfully with QGC?
Thanks in advance.

Please keep in mind that most of the QCG GUI is made of QML code, not Qt widgets.

So you may want to take a look at the QML Type and QML Context inspection features from GammaRay

1 Like

That’s already quite helpful, thank you!

Sadly Gammaray seems to miss a lot of QGC’s components/objects, and when selecting some of them QGC just crashes. Have you experienced something like this?

I haven’t got much experience with that tool, sorry.