Are there any useful tools for diagnosing Qt layout and spacing problems?

后端 未结 4 2201

See also related question: How do you debug Qt layout problems

I\'ve got some complex widget hierarchies that I\'m trying to lay out, and I run into the usual p

4条回答
  •  眼角桃花
    2021-02-05 06:12

    What you are looking for is basically a tool that analyzes the QObject or rather QWidget hierarchy and adds annotations. This is exactly what GammaRay is about. It is GPL licensed and therefore freely available. You can get further infos on the GammaRay project page. I've used it several times, and it works as expected.

提交回复
热议问题