待辦事項 #48126

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

啟用日期: 2023-06-01 07:40 最後更新: 2023-06-09 16:58

回報者:
負責人:
類型:
狀態:
關閉
元件:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
2

細節

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
  • 負責人 Update from (無) to cazfi
  • 處理結果 Update from to Accepted
  • 里程碑 Update from (無) to 3.1.0-beta3 (closed)
評語

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
  • 狀態 Update from 開啟 to 關閉
  • 處理結果 Update from Accepted to 修正

編輯

Please login to add comment to this ticket » 登入