GLuint tx; QGLWidget *GL; GL = new QGLWidget; GL->setFixedSize(800,800); ui->VL->addWidget(GL); tx = GL->bindTexture(*pixmap_texture); GL->drawTexture(QPointF(100,100),tx);