RE: Displating image in a frame
Hi,
You can use a Lable as a container to hold that image. Try with the following code
QImage image;
image.load("./surge.jpg");
ui.label->setAlignment(Qt::AlignCenter);
ui.label->setPixmap(QPixmap::fromImage(image));
Regards,
Anusha