Simple situation, but I can't find an answer.
Can anyone please point me to an example of how to setText() of a lineEdit field in a form from a different class? How to reference the form?
I tried this in the other class cpp:

Qt Code:
  1. Ui_Form *form;
  2. form -> lineEditField -> setText("ABC");
To copy to clipboard, switch view to plain text mode 

Crashes the application