Qt currently supports only 'px' and 'pt' values for font-size Style Sheets parameter.
This is very inconvenient for application development, when app should look similar in multiple environments with different screen resolutions, different pixel sizes of system font and different px/pt ratio.
Please find below code proposal to add this support in qcssparser.cpp, setFontSizeFromValue() func, at line 1128:
Proposed approach is similar to what already used in CSS parser in lengthValueFromData function.
Am I miss why 'em' is still not supported for font size in Qt?