Hey Everyone,
Xcode makes a very nice IDE for Qt for those of use doing our work on a mac. And though Creator is also shaping up to be a very nice IDE, it's one more tool to learn.
It was irking me to no end that viewing the values of various QObjects wasn't possible in the Debugger. So I set out on a mission.
The result of the mission is plugin bundle I wrote that does just that. The supported data types are limited as I just got started, but it covers:
QString (displays the string)
QModelIndex (displays something like row: 1, col: 5)
QVariant (displays the toString() for it)
QFile (displays the assigned file path)
And I'm working on a QAbstractItemModel (I figure I'll show the metaobject's className property).
Works with both pointers and instances of those data types "out the box".
Anyway, during my searching I saw this come up quite a few times with no good solution for it, so here's my work:
http://github.com/jameskyle/Qt4DataFormatter
Bookmarks