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 #871396

QApplication::desktop()->screenGeometry() deprecated in Qt-5.11

Added by Marko Lindqvist over 2 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

When one sets QT_DISABLE_DEPRECATED_BEFORE in qt5.m4 to 0x050b00, matching Qt-5.11, one gets:

../../../../src/client/gui-qt/citydlg.cpp: In member function ‘virtual void city_dialog::showEvent(QShowEvent*)’:
../../../../src/client/gui-qt/citydlg.cpp:2196:58: error: no matching function for call to ‘QDesktopWidget::screenGeometry()’
2196 | QRect rect = QApplication::desktop()->screenGeometry();

History

#1 Updated by Marko Lindqvist over 2 years ago

  • Status changed from New to In Progress

#3 Updated by Marko Lindqvist over 2 years ago

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

Also available in: Atom PDF