Project

Profile

Help

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...

Feature #834390

Replace calls to deprecated QFontMetrics::width

Added by Zoltán Žarkov almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
gui-qt
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

QFontMetrics::width is now called QFontMetrics::horizontalAdvance

History

#1 Updated by Zoltán Žarkov almost 3 years ago

This applies cleanly to S2_6 and S3_0

#2 Updated by Marko Lindqvist almost 3 years ago

  • Sprint/Milestone changed from 2.6.1 to 3.1.0

According to https://doc.qt.io/qt-5/qfontmetrics.html#horizontalAdvance-1 horizontalAdvance() was introduced in Qt-5.11, while stable branches are supposed to be backward compatible all the way to Qt-5.2.

We can bump minimum requirement in master.

#3 Updated by Marko Lindqvist over 2 years ago

Marko Lindqvist wrote:

We can bump minimum requirement in master.

-> Feature #849444

#4 Updated by Marko Lindqvist over 2 years ago

  • Tracker changed from Bug to Feature

#5 Updated by Marko Lindqvist over 2 years ago

  • Status changed from New to Resolved
  • Assignee set to Marko Lindqvist

#6 Updated by Marko Lindqvist over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF