I have defined my slot like this:
void choixPoints:: prendpixel1(Pixel depart)
{
//...
}
and I want to execute the following sentence:
Pixel depart= picmou->define(); //definition of a pixel, well defined
connect(chp3, SIGNAL(clicked()), this, SLOT(prendpixel1(Pixel depart)));
However when I execute I obtain:
QObject::connect: No such slot choixPoints::prendpixel1(Pixel depart)
Why doesn't my slot work?