When binding the slot function, the slot and signal with parameters need to specify the parameter type , or the parameter table:
correct
connect(&rev,SIGNAL(on_initBDPMat(int,int,int)),this,SLOT(rec_initBDPMat(int,int,int)));
connect(&rev,SIGNAL(on_BDPpacket(BDP*)),this,SLOT(rec_BDPpacket(BDP*)));
error:
connect(&rev,SIGNAL(on_initBDPMat()),this,SLOT(rec_initBDPMat()));
connect(&rev,SIGNAL(on_BDPpacket()),this,SLOT(rec_BDPpacket()));
By my own analogy, the code was taken from my own project.