Ticket #48126

Qt: Deprecated QLabel::pixmap(Qt::ReturnByValueConstant)

Open Date: 2023-06-01 07:40 Last Update: 2023-06-09 16:58

Reporter:
Owner:
Type:
Status:
Closed
Component:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
2

Details

Building with methods deprecated in Qt-6.6 disallowed:

client/gui-qt/pages.cpp:1365:38: error: no matching function for call to 'QLabel::pixmap(Qt::ReturnByValueConstant)'
|  1365 |         QPixmap pm = load_pix->pixmap(Qt::ReturnByValue);

Ticket History (3/5 Histories)

2023-06-01 07:40 Updated by: cazfi
  • New Ticket "Qt: Deprecated QLabel::pixmap(Qt::ReturnByValueConstant)" created
2023-06-02 11:51 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
  • Milestone Update from (None) to 3.1.0-beta3 (closed)
Comment

Fix for this one works on any Qt6 version, so can be applied also to Qt6-mode in all branches with Qt6 support (not only to Qt6x mode of main branch).

Patches attached.

2023-06-09 16:58 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login