It seems ok;
I have a problem. In mywidget.cpp constructor I have:
Qt Code:
  1. connect(this, SIGNAL(myUpdate()), w, SLOT(myUpdateWidgets()) );
To copy to clipboard, switch view to plain text mode 
in main.cpp:
Qt Code:
  1. myMainForm w; a.setMainWidget(&w);....
To copy to clipboard, switch view to plain text mode 
When I launch app appear this message:
Qt Code:
  1. QObject::connect: No such slot MainForm::myUpdateWidgets()
  2. QObject::connect: (sender name: 'myWidget1')
  3. QObject::connect: (receiver name: 'MainForm')
To copy to clipboard, switch view to plain text mode 

myUpdateWidgets() is a SLOT of myMainForm! And not MainForm (base class)
Why doesn't it work? Thanks