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

Bug #852863

Qt: QDateTime::fromTime_t() deprecated in Qt-5.8

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 increasing QT_DISABLE_DEPRECATED_BEFORE to version 5.8 (this is ok with 5.7), pages.cpp fails to compile:

../../../../src/client/gui-qt/pages.cpp: In member function ‘void fc_client::update_load_page()’:
../../../../src/client/gui-qt/pages.cpp:1379:31: error: ‘fromTime_t’ is not a member of ‘QDateTime’
1379 | QDateTime dt = QDateTime::fromTime_t(pfile->mtime); | ^~~~~~~~
make2: *** [Makefile:894: pages.lo] Error 1


Related issues

Related to Freeciv - Feature #852856: Set QT_DISABLE_DEPRECATED_BEFOREClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Marko Lindqvist over 2 years ago

#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