hasnatzaidi
30th September 2009, 18:03
hi , I posted thread earlier regarding this problem but not solved.
Here Following code are call UI file in Main Project
void MainWindow::on_btn_screate_clicked()
{
// sessiondetail.ui is another UI file in same project
Ui::sessiondetail ui;
QMainWindow *sessiondetail = new QMainWindow;
ui.setupUi(QMainWindow *sessiondetail);
}
And its output error is
mainwindow.cpp:462: error: expected primary-expression before '*' token
As a result which i want the sessiondetail.ui file must be displayed when click on button.
Can anyOne Plz Slove this problem
thanks to every one
Regards, Raza
Here Following code are call UI file in Main Project
void MainWindow::on_btn_screate_clicked()
{
// sessiondetail.ui is another UI file in same project
Ui::sessiondetail ui;
QMainWindow *sessiondetail = new QMainWindow;
ui.setupUi(QMainWindow *sessiondetail);
}
And its output error is
mainwindow.cpp:462: error: expected primary-expression before '*' token
As a result which i want the sessiondetail.ui file must be displayed when click on button.
Can anyOne Plz Slove this problem
thanks to every one
Regards, Raza