herbstritter
16th March 2010, 13:12
Hi,
i want to connect a QPushButton to a slot create(QSqlDatabase *database), but i get the following:
QObject::connect: Incompatible sender/receiver arguments
QPushButton::clicked() --> CreateCupDialog::create(QSqlDatabase*)
Do i have to change my slot to create() because the button cant send a QSqlDatabase* type? how do i get my pointer passed to the functions executed in create()?
thanks for your help.
i want to connect a QPushButton to a slot create(QSqlDatabase *database), but i get the following:
QObject::connect: Incompatible sender/receiver arguments
QPushButton::clicked() --> CreateCupDialog::create(QSqlDatabase*)
Do i have to change my slot to create() because the button cant send a QSqlDatabase* type? how do i get my pointer passed to the functions executed in create()?
thanks for your help.