[Freeciv-tickets] [freeciv] #48126: Qt: Deprecated QLabel::pixmap(Qt::ReturnByValueConstant)

Back to archive index
OSDN Ticket System norep****@osdn*****
Fri Jun 2 11:51:54 JST 2023


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

  Open Date: 2023-06-01 01:40
Last Update: 2023-06-02 05:51

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/48126
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48126

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2023-06-02 05: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

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.

---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: cazfi
          Type: Patches
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: 3.1.0-beta3
     Component: Qt-client
      Severity: 5 - Medium
    Resolution: Accepted
---------------------------------------------------------------------

Ticket 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 information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/48126
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48126



More information about the Freeciv-tickets mailing list
Back to archive index