Hi,

I am trying to create UI like..

template.jpg
for this created a subclass from QDialog and trying to add Menubar and Tabwidget via QVBoxLayout, I am able to add MenuBar successfully, but when I add Tabwidget ..

Qt Code:
  1. TabWidget = new QTabWidget();
  2. TabWidget->addTab(new QWidget(),tr("Tab 1"));
  3. VerticalLayout->addWidget(TabWidget);
To copy to clipboard, switch view to plain text mode 

Getting a runtime error as "Microsoft Visual C++ Runtime Library This application has requested the Runtime to terminate it in an unusual way. Please contact the application support team for more information" with OK button.

and when I Use debugger it gives the error "Signal Received, The inferior stopped because it received a signal from Operating system"

could someone help me out to fix this problem ?

I am using Qt 4.8.1 in Qt Creator 2.4.1 in win 7

Thanks,