View Full Version : (Qt 4.7.3) QFontMetrics performance issue with El Capitan and Sierra

15th November 2016, 05:25
Dear All,
I am using Qt 4.7.3 version and my code has performance issue in Mac OS El Capitan and Sierra, QFontMetric is taking more time in above mentioned version , earlier version of OS has no issue.

Here is the sample code which is taking time

QFontMetrics fm(cellFont);
QSize size(fm.size(0, leafIndex.data(Qt::DisplayRole).toString()));

Any idea or known issue ?
Please reply.