Base class is derived from QMainWindow as below:

Qt Code:
  1. class Base : public QMainWindow
  2. {
  3. Q_OBJECT
  4. public:
  5. RaptorLrsGUI *lrsGUI;
  6. RaptorCoreGUI *coreGUI;
  7. QStackedWidget *stackedWidget;
  8. Base();
  9.  
  10. private slots:
  11. void rcvInitData();
  12.  
  13. };
To copy to clipboard, switch view to plain text mode 

I have put the log in the SLOT function and I can see it getting printed:

Qt Code:
  1. void Base::rcvInitData()
  2. {
  3. qDebug()<< "Main Thread (CALLBACK): Display second screen\n";
  4. this->stackedWidget->setCurrentIndex(1);
  5. }
To copy to clipboard, switch view to plain text mode 


Qt Code:
  1. Base CTOR called
  2.  
  3. Client Thread: Connecting timer object timeout signal with threads timerhit slot
  4.  
  5. Client Thread: Starting timer objecti
  6.  
  7. Client Thread: executing clock thread
  8.  
  9. Client Thread: Emitting sendMsg signal
  10.  
  11. Main Thread (CALLBACK): Display second screen
  12.  
  13. Client Thread: Emitting sendMsg signal
  14.  
  15. Main Thread (CALLBACK): Display second screen
To copy to clipboard, switch view to plain text mode