Skip to content

Make draw intense-colors-as-bold work for both Qt5/6

Ahmad Samir requested to merge work/ahmad/qt6-font into master

QFont::weight/setWeight() returns/takes an int in Qt5 and QFont::Weight in Qt6.

This maintains the same behaviour as implemented in 41693fe9. «the weight used as bold is dependent on selected font's weight. "Regular" will use "Bold", but e.g. "Thin" will use "Light".»

Merge request reports