0

I have a problem about Qt Stylesheets and I am using Qt 5.6 on windows.(This was not exist in Qt 5.5.1) I use this code piece, this is a QLabel inside a QDialog.

ui.newGroupNameLabel->setStyleSheet("QLabel { color : black; }");

I also tried giving it a name usingQObject::setObjectName() and use an ID Selector to refer to it. But it still occurs.

It affects whole project. I mean that affecting other widgets. All the expand symbols change to plus sign. This QLabel is unrelated to this widget(below). Did anyone face with this problem?

enter image description here

enter image description here

Thanks in advance.

Wilmort
  • 294
  • 2
  • 15

1 Answers1

1

This issue is resolved in Qt 5.6.1 that will be released in few days.

https://bugreports.qt.io/browse/QTBUG-52230

Wilmort
  • 294
  • 2
  • 15