
Originally Posted by
spirit
add qDebug in that place where you emit a signal.
Thank you spirit for the reply. Actually i've declare the signal in .h but didn't define it in .cpp file.
a.h
a();
~a()
function();
signal:
void mySig(arg);// signal return type is void
a.h
a();
~a()
function();
signal:
void mySig(arg);// signal return type is void
To copy to clipboard, switch view to plain text mode
and inside a function
a.cpp
function()
{
....
...
qDebug()<<"checking mySig";
emit mySig(arg);
qDebug()<<"mySig executed";
}
a.cpp
function()
{
....
...
qDebug()<<"checking mySig";
emit mySig(arg);
qDebug()<<"mySig executed";
}
To copy to clipboard, switch view to plain text mode
But is this the right way???
Bookmarks