Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
6.7.1
-
None
Description
When switching from Qt5 to Qt6, the QLabel bold attribute in the designer ui file is not rendered correctly. In Qt5, the following
<widget class="QLabel" name="label"> <property name="font"> <font> <pointsize>12</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="text"> <string>Plot Control</string> </property> </widget>
produces bold text. When used in Qt6, the text is not bold. It turns out that the following line in the ui file needs to be removed for the label to appear bold:
<weight>75</weight>