#include <QWizard>#include "ui_addWizard.h"class addWizard : public QWizard{ Q_OBJECTpublic: addWizard(QWidget *parent = 0);signals:public slots:private: Ui::addWIzard ui;};
addWizard::addWizard(QWidget *parent) : QWizard(parent){ ui.setupUi(this);}
addWizard *wiz = new addWizard; wiz->show();