I have an application, to that i have to add about in help. I designed different form say form2 and the original application is say form1.

void form1::helpAboutActivated()
{

}

I have this in my form1.ui.h file---- what code i have to add above so that i can avtivate that dialog form2.

I tried
void form1::helpAboutActivated()
{
form2 f2;
f2.exec();
}


but at the compilation time it is stating an error that form2 is not declared under scope...


Please tell me what to do