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