mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
This is removed in Qt6. Use QFontMetrics.horizontalAdvance() if plugin can safely require Qt >= 5.11, or QFontMetrics.boundingRect().width() otherwise