I remember when messing around with Qt seeing something where it was like
class MyForm : QDialog
{
}
Instead of
class MyForm
{
void SetupUi(QDialog* dialog);
}
How do you generate the inherited form?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is the new and only way to setup your UI since Qt 4.0. Like it or not, you can always alter the generated code before building.
Here’s an article on porting .ui files to Qt 4.x – http://qt.nokia.com/doc/4.0/porting4-designer.html.