Another Datapoint:

I'm using multiple inheritance to use graphic objects generated from QDesigner, in this case in the file ui_mainwindow.h (I have used the multiple inheritance approach in other projects without experiencing this problem). If I replace the:

Qt Code:
  1. tvForecastHeader->setModel(HeaderModel);
To copy to clipboard, switch view to plain text mode 

where tvForecastHeader is created in the object defined in ui_mainwindow.h and instantiated in the mainwindow constructor:

Qt Code:
  1. MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindowClass)
  2. {
  3. ui->setupUi(this);
  4. ...
To copy to clipboard, switch view to plain text mode 

with a locally created one as in:

Qt Code:
  1. DetailView = new QTableView();
  2. DetailView->setModel(HeaderModel);
To copy to clipboard, switch view to plain text mode 

It doesn't crash. But I can't see what's different from this and the instatiation in MainWindowObject.

?? Doug