Hello everyone, I am making a QT GUI project and I want a QDialog to pop-up when the user selects some option in the program.. I added the Qt Designer form to the project.. I read that the way you call the QDialog is by doing exec(); function. However, the program compiler says that "the dialog was not declared in this scope" basically my question is.. other than adding the ui form to the project.. how do you implement the dialog? how do u call it? do u have to make a class source file for the dialog?

thanks for the help!