bigA
7 years agoNew Contributor
Is it possible to access the items in a QList?
Hi,
I can't seem to access data stored in a Qt QList. Qt's built-in functions for accessing QLists don't work when I call them in my scripts. I've tried writing functions in the tested application to access the QList and return the values, but calling those functions from TestComplete throws exceptions. I've looked into it, and it seems that QList objects that are members of a class appear empty when I try to access them from TC via my accessor functions, but work just fine when accessed from within the Qt application through the same accessor functions.
Any info would be greatly appreciated.