Skip to content

Qt5: convert Qt6 font string to Qt5

hexchain requested to merge hexchain/plasma-integration:fix-font-in-qt5 into master

Qt5's QFont::fromString does not recognize the string representation generated by Qt6. This will cause all Qt5 apps to use the fallback default font (Noto Sans) instead of the configured one.

Try to convert the font string to the format recognized by Qt5.

Merge request reports