Qt script get text property
- by user350668
Hi all,
I'm trying to access the text of a QLabel using Qt script. Here is what I have:
var mystring;
var mylabel = objectFromPath("...someWindow::Label");
mystring = mylabel.text;
// then do something with mystring
This doesn't work and I don't know what I'm doing wrong.
Any help would be appreciated.
thanks