How to Connect one dialogue form to other dialogue form in qt
-
Hello,
I am creating three forms class names are mainwindow,form1,form2
i am communicating the two forms from the mainwindow using signal and slots method but i am unable to connect form1 to form2 using signal and slots
i am creating new form2 object in form1 i.e code is
form2 res;
connect(this,SIGNAL(changed()),&res,SLOT(result());I got the following errors:
expected before res;
statement cannot resolve address of overloaded function
res cannot declared in this scope; -
It is compilation issue. Can you post the code here ? It will help us to identify
the issue.