mirror of https://github.com/bitcoin/bitcoin
Merge bitcoin-core/gui#838: qt6: Handle deprecated `QLocale::nativeCountryName`
pull/31031/head9123a286e9
qt6: Handle deprecated `QLocale::nativeCountryName` (Hennadii Stepanov) Pull request description: Split from https://github.com/bitcoin/bitcoin/pull/30997. [`QLocale::nativeCountryName()`](https://doc.qt.io/qt-6/qlocale-obsolete.html#nativeCountryName) has been deprecated since Qt 6.6. [`QLocale::nativeTerritoryName()`](https://doc.qt.io/qt-6/qlocale.html#nativeTerritoryName) was introduced in Qt 6.2. This PR ensures compatibility across all supported Qt versions. No behaviour change for the current codebase, which uses Qt 5. --- This PR can be tested on macOS using the first commit from https://github.com/bitcoin/bitcoin/pull/30997 and Homebrew's `qt` package. ACKs for top commit: promag: Code review ACK9123a286e9
. jarolrod: ACK9123a286e9
Tree-SHA512: 937258ab90f41077b0c9b1489e05104e3558b5da522b9dcd07fe373826aa671b2388539425f38c43fcde22419cdb8694cdcb04574d92b773acdb80f9a4fb1c02
commit
f117f3f747
Loading…
Reference in new issue