Peace..
hey ..
I try to compile a simple qt programm whch I found in a tuto .. but I get the following error >> 'class QApplication' has no member named 'setMainWidget'
so is setMainWidget a member of QApplication class ??Code:
#include <QApplication.h> #include <qpainter.h> #include <qlabel.h> #include <qpixmap.h> #include <qpaintdevice.h> { } int main (int argc, char* argv[]) { Dessiner(&pix) ; label.setPixmap(pix) ; app.setMainWidget(&label) ; label.show() ; return app.exec() ; }
plz help