I already tried to include it in the stylesheet with QLabel{border-radius : 5px;} But i keep getting the same Result
Here's the code i wrote to generate that window :
userPreview::userPreview(QString username, QString image_path){
this->setFixedSize(200,80);
this->setStyleSheet("background : rgb(42,45,49); border-radius : 2px; border : 2px; border-color : (90,92,95);");
name = new QLabel(username, this);
name->move(90,30);
name->setStyleSheet("color : rgb(255,255,255); font-weight : bold; text-transform : uppercase;");
image = new QLabel(this);
image->setPixmap(QPixmap(image_path).scaled(40,40));
image->move(20,20);
image->setStyleSheet("border-radius : 5px;");
} How do i modify it for the image to be round ? Thanks in advance to anyone who tried to help me :-)