Tíquete #48126

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

: 2023-06-01 07:40 Última Atualização: 2023-06-09 16:58

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
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
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
  • Marco Update from (Nenhum) to 3.1.0-beta3 (fechado)
Comentário

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
  • Estado Update from Aberto to Fechado
  • Resolução Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Login