Having conquered the MDI issue (newbie) I've started to implement menus. I've created these in designer (4.5.2.) which I have used before. I'm having two problems. The first is when I run my program through QDevelop the menus I've created (with the exception of File:New see problem two below) are not present in the debug app but are present in designer.

The second problem is if I set up a signal and slot for the menuaction I have just created in designer the program fails to compile apart from the File:New slot. The error message is for open "src/mainwindowimpl.cpp:22: error: ‘actionOpen’ was not declared in this scope " and yet void open(); is declared in the header file thus

Qt Code:
  1. class MainWindowImpl : public QMainWindow, public Ui::MainWindow
  2. {
  3. Q_OBJECT
  4.  
  5. public:
  6.  
  7. MainWindowImpl( QWidget * parent = 0, Qt::WFlags f = 0 );
  8.  
  9. private slots:
  10.  
  11. void updateStatusBar();
  12. void newFile();
  13. void open();
  14.  
  15. void copy();
To copy to clipboard, switch view to plain text mode 

and the signals and slots are coded thus

Qt Code:
  1. MainWindowImpl::MainWindowImpl( QWidget * parent, Qt::WFlags f)
  2. : QMainWindow(parent, f)
  3. {
  4. setupUi(this); // required so menus appear
  5.  
  6. mdiArea = new QMdiArea;
  7. mdiArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
  8. mdiArea->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
  9. setCentralWidget(mdiArea);
  10. setWindowTitle(tr("Spreadsheet"));
  11. //createMdiWindow(); // dumps empty sheet in window
  12. createStatusBar();
  13.  
  14. // signals and slots on constructor
  15. connect(action_New, SIGNAL(triggered()),this, SLOT(newFile()));
  16. //connect(action_Copy, SIGNAL(triggered()), this, SLOT(copy()));
  17. connect(actionOpen, SIGNAL(triggered()),this, SLOT(open()));
  18. //connect(action_Quit, SIGNAL(triggered()), this, SLOT(close()));
  19.  
  20.  
  21. }
To copy to clipboard, switch view to plain text mode 

I had problems getting new to work (same scoping error) but I changed the QAction *newAction; to
QAction *action_New; in designer it worked. This method has not worked for copy/open etc.

The lack of created menus appearing and the signals/slots problem are related, surely I assume a bug but is there any way round it?

Ta.