~~With removal of support for Qt4 [not far away](https://github.com/bitcoin/bitcoin/pull/13458), opening this for any thoughts on setting a minimum required qt5 version. It could be quite possible for us to support Qt 5.0+.~~

Qt4 support was removed in #13458.
The current minimum required Qt is `5.2`. Set in #14725.

#### [Qt Versions](https://download.qt.io/official_releases/qt):
[5.12 (LTS)](https://doc.qt.io/qt-5.12/supported-platforms.html) Supported for 3 years post release.
[5.11](https://doc.qt.io/qt-5.11/supported-platforms.html) Supported until May 2019
[5.10](https://doc.qt.io/archives/qt-5.10/supported-platforms.html) Supported until Dec 2018 (Archived).
[5.9 (LTS)](https://doc.qt.io/qt-5.9/supported-platforms.html) Supported until May 31, 2020.
[5.6 (LTS)](https://doc.qt.io/qt-5.6/supported-platforms.html) Supported until Mar. 16, 2019 (will end around the same time as the `v0.18.0` release).

Any other releases older than 5.10 are no longer supported (by Qt).

Qt releases seem to be getting more frequent, and in some cases more aggressive about dropping support for OS versions. i.e macOS >`10.12` is required for Qt `5.12`.

#### Qt Feature Usage:
There are the following usages of `QT_VERSION` (excluding bitcoin_qt.m4) in the code:
* [QT_VERSION >= 0x050600](https://github.com/bitcoin/bitcoin/blob/master/src/qt/bitcoin.cpp#L446) - 5.6+ Enables high-DPI scaling on supported platforms.

* ~~[QT_VERSION >= 0x050500](https://github.com/bitcoin/bitcoin/blob/master/src/qt/bitcoin.cpp#L595) - 5.5+ Disable SSL and use TLS 1.0+.~~

* [QT_VERSION < 0x050400](https://github.com/bitcoin/bitcoin/blob/master/src/qt/bitcoin.cpp#L58) // Import AccessibleFactory plugin.

* [QT_VERSION >= 0x050300](https://github.com/bitcoin/bitcoin/blob/master/src/qt/test/rpcnestedtests.cpp#L123) - 5.3+ tests using QVERIFY_EXCEPTION_THROWN.

* ~~[QT_VERSION >= 0x050200](https://github.com/bitcoin/bitcoin/blob/master/src/qt/guiutil.cpp#L64), [QT_VERSION >= 0x050200](https://github.com/bitcoin/bitcoin/blob/master/src/qt/guiutil.cpp#L94) - 5.2+ Returns the most appropriate system font.~~
* ~~[QT_VERSION >= 0x050200](https://github.com/bitcoin/bitcoin/blob/master/src/qt/macdockiconhandler.mm#L59) - Set this menu to be the dock menu available by option-clicking on the application dock icon. macOS only.~~

* ~~[QT_VERSION > 0x050100](https://github.com/bitcoin/bitcoin/blob/master/src/qt/bitcoin.cpp#L585) - 5.1+ Support for high-dpi pixmaps.~~
* ~~[QT_VERSION > 0x050100](https://github.com/bitcoin/bitcoin/blob/master/src/qt/splashscreen.cpp#L39), [QT_VERSION > 0x050100](https://github.com/bitcoin/bitcoin/blob/master/src/qt/splashscreen.cpp#L55) - Sets the device pixel ratio for the splash-screen.~~

* ~~[QT_VERSION >= 0x050000](https://github.com/bitcoin/bitcoin/blob/master/src/qt/paymentrequestplus.cpp#L100) - Determine if a certificate is blacklisted.~~ Removed in #13458.
{
    QSettings settings;
    
    
    QString lang_territory = QLocale::system().name();
    
    QString lang_territory_qsettings = settings.value("language", "").toString();
    if(!lang_territory_qsettings.isEmpty())
        lang_territory = lang_territory_qsettings;
    
    lang_territory = QString::fromStdString(gArgs.GetArg("-lang", lang_territory.toStdString()));
    return lang_territory;
}
static void initTranslations(QTranslator &qtTranslatorBase, QTranslator &qtTranslator, QTranslator &translatorBase, QTranslator &translator)