Hello,
I have created an app with a QTabWidget on my desktop. I went into designer and right clicked the tab widget to automatically create a currentChanged(QWidget *arg1) slot when the tabs are clicked:
void MainWindow::on_tabWidget_currentChanged(QWidget *arg1)
{
this->close();
}
In the desktop version everything works perfectly. Then, when I build it for Windows Compact 7 and run it on my embedded board it states that there is no signal for the slot that I made. This is followed by the app not working properly because nothing happens when I click the tabs. Furthermore, when I add the autoconnection the words on my tabs disappear. It is very odd. Anyone know what may be happening?
Thank you!
UPDATE
Just as an update, I tried manually connecting the signal and slot to force the connection using
connect(ui->tabWidget, SIGNAL(currentChanged(int)), this, SLOT(on_tabWidget_currentChanged(QWidget*)));
However it still did not work. In Windows Compact 7 I used kernel tracker and got the following error message:
QMetaObject::connectSlotsByName:no matching signal for on_tabWidget_currentChanged(QWidget*)
↧