Activeqt events problem
-
hi everyone
i have dll,i use dumpcpp to generate class files and then i use this dll
it works fine except its events
i know it has event name "signal1()"
i use this code
@connect(x,SIGNAL(signal1()),this,SLOT(myslot()));@
and when i see my debug output it doesn't get me error about sender or reciever is missing
but it doe'snt run my slot name myslot()
how can i fix this? -
i have change it to not to use dumppcpp generated file and i writes manually
this is my program:
@container = new QAxWidget(this);
container->setAttribute(Qt::WA_DeleteOnClose);
container->setControl("{00853a19-bd51-419b-9269-2dabe57eb61f}");
container->setObjectName(container->windowTitle());
connect(container,SIGNAL(OnFinger()),this,SLOT(doit2()));
connect(container,SIGNAL(OnConnected()),this,SLOT(doit2()));
connect(container,SIGNAL(OnVerify(int)),this,SLOT(doit(int)));
connect(pushButton,SIGNAL(clicked()),this,SLOT(doit2()));
container->dynamicCall("Connect_Com(int,int,int)",1,1,115200);
container->dynamicCall("RegEvent(int,int)",1,65535);@
but now it only emit one signal name OnConnected()
and other siganls doesn't emitted
what should i do?