HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
S2_6/S3_0 Qt: Deprecated QFontMetrics::width
Replace deprecated QFontMetrics::width() usage in S2_6/S3_0 Qt-client. The new code must work also with older Qt versions (down to oldest one we support; 5.2)
#2 Updated by Marko Lindqvist 10 months ago
- File 0024-Qt-Replace-QFontMetrics-width-with-QFontMetrics-hori.patch 0024-Qt-Replace-QFontMetrics-width-with-QFontMetrics-hori.patch added
- Status changed from In Progress to Resolved
The only viable solution I could come up with was to depending on Qt version to use either width() or horizontalAdvance(), implemented so that horizontalAdvance() is a macro wrapping width() for Qt < 5.11.
This needs some testing with different Qt versions.