thanks guys, but this isn't working too...According to toutarrive, i made the following changes..
I drew a Label on the UI form and wrote as following....
#include "myclass.h"
#include "ui_myclass.h"
MyClass::MyClass(QWidget *parent) :
QDialog(parent),
ui(new Ui::MyClass)
{
ui->setupUi(this);
QPixmap logo("xyz1.jpg");
ui->Label->setPixmap(logo);
}
Bookmarks