Should i place the connect command in classB's constructor to connect the signals as classB has classA's instance?
EDIT
I placed the connect code in the classB's constructor.The app compiled successfully but i got this in qDebug
connect(classA_object,SIGNAL(receiving_finished()), this, SLOT(write_data()));
QObject::connect: Cannot
connect (null)::receiving_finished() to classB
::write_data()
connect(classA_object,SIGNAL(receiving_finished()), this, SLOT(write_data()));
QObject::connect: Cannot connect (null)::receiving_finished() to classB::write_data()
To copy to clipboard, switch view to plain text mode
Bookmarks