qt image widget code example Example: qt insert image in widget //you can use a QLabel mylabel.setPixmap("myFile.png");