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. However, it doesn't give me an error.
mystring = mylabel.text();
This line actuıally gives an error: "label.text[undefined] is not a function"
Any help would be appreciated.
Thanks!