//QPixmap pixmap(":/new/prefix_image/LDH_R.png");
//ui->label_LDH_B->setPixmap(pixmap);
//ui->label_LDH_B->setMask(pixmap.mask());
// QPixmap pixmapLeft ( ": / new / direction16 / imagen / LUH_B.png");
// ui-> pushButton_LUH-> setStyleSheet ( “border-image: url (: / nueva / direction16 / imagen / LUH_B.png);”);
// ui-> pushButton_LUH-> setMask (pixmapLeft.mask ());
Nota: El fondo de la imagen debe ser transparente