How can I change my ui object fron main.cpp in qt? : I have a Qt project including a mainwindow object. I need to change a textEdit's text in ui while I'm in main.cpp. How should I get access to it?
I tried making the ui object public in my mainwindow.h but didn't work.