I created a form with designer-qt4 and open in myqtapp.cpp
myForm *dialog2 = new myForm;
dialog2->show();
but i want fill a lineedit in new opened form. Like this.
lineEdit_recordid->setText("315");
and i get following error.
myqtapp.cpp:41: error: ‘lineEdit_recordid’ was not declared in this scope
make: *** [myqtapp.o] Error 1
what can i use?
Bookmarks