QApplication::setMainWidget() is a method from Qt3 whereas you seem to be using Qt4.
QApplication::setMainWidget() is a method from Qt3 whereas you seem to be using Qt4.
Yea Im using Qt4 ..so wht should I put instead ?
Nothing, you can remove that line.
So by default it is taken as a main widget !!
thanks for help
Bookmarks