4 ms·
> Side note, but the "browser dev tools but for Qt" exists, it is called Gammaray. Also, accessibility tools like Microsoft's inspect[1] already allow people t
by simplotek 4y ago
> Side note, but the "browser dev tools but for Qt" exists, it is called Gammaray.
Also, accessibility tools like Microsoft's inspect[1] already allow people to see an app's widget tree.
With Qt it's also trivial to put together a tree view that renders your app's widget tree.
Qt also provides infrastructure to unit test widgets.[2]
Qt also uses UI form files to allow WYSIWYG access to their UI components.
From reading the article, I was left with the impression that the author's struggles with a Qt codebase was that he had little to no experience with desktop development in general and Qt in particular, and experienced issues trying to get his bearings.
[1] https://learn.microsoft.com/en-us/windows/win32/winauto/inspect-objects https://learn.microsoft.com/en-us/windows/win32/winauto/insp...
[2] https://doc.qt.io/qt-6/qttestlib-tutorial3-example.html https://doc.qt.io/qt-6/qttestlib-tutorial3-example.html
- PoignardAzur 4y ago> Qt also provides infrastructure to unit test widgets. ... Holy crap, how did I never hear of this? I did search for Qt testing infrastructure before writing this article too.