Project

General

Profile

Actions

Bug #771

closed

Qt-client uses asprintf()

Added by Marko Lindqvist 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Emergency Fix
Category:
Qt-client
Target version:
Start date:
08/04/2024
Due date:
% Done:

0%

Estimated time:

Description

Qt-client again uses QString::asprintf(), which causes compile error on msys2:

../../../../../../client/gui-qt/citydlg.cpp: In member function 'void city_dialog::update_counters_table()':
../../../../../../client/gui-qt/citydlg.cpp:3041:24: error: 'libintl_asprintf' is not a member of 'QString'
3041 | concatStr=QString::asprintf("%s%d", _("Current value is: "), | ^~~~~~
../../../../../../client/gui-qt/citydlg.cpp:3044:24: error: 'libintl_asprintf' is not a member of 'QString'
3044 | concatStr=QString::asprintf("%s%d",_("Activated once value equal "


Files

Actions

Also available in: Atom PDF