[CMake] mainwindow.cpp has unexpectedly finished.
Heena Mahur
hena18 at rocketmail.com
Sun Jul 1 10:38:26 EDT 2012
Hey,
Please have a look at mainwindow.cpp
#include"mainwindow.h"
#include"ui_mainwindow.h"
#include<QSplitter>
MainWindow::MainWindow(QWidget*parent):
QMainWindow(parent),
ui(newUi::MainWindow)
{QSplitter*splitter1=newQSplitter(parent);
QSplitter*splitter2=newQSplitter(parent);
splitter1->addWidget(ui->treeWidget);
splitter1->addWidget(ui->groupBox);
splitter2->addWidget(ui->groupBox);splitter2->addWidget(ui->scrollArea);
ui->setupUi(this);
}
MainWindow::~MainWindow()
{
deleteui;
}
Using qt creator I am getting this error -Starting /home/heena/Documents/untitled3/untitled3...
The program has unexpectedly finished.
/home/heena/Documents/untitled3/untitled3 exited with code 0
Regards
bye
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120701/ccccf0b8/attachment-0001.htm>
More information about the CMake
mailing list