diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2021-01-28 16:06:26 +0100 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2021-02-25 16:08:43 +0100 |
commit | 43c28aa9046967abeb4ad042c8be1aa23a19c282 (patch) | |
tree | b8f4a53cd9aaaa819c853ee51e66ea100c1ae3d5 /src/corelib/text/qlocale_win.cpp | |
parent | 5a3bbb55851b84aa6a46c23e5a6fb33b4860edc6 (diff) |
Use Core library for qmake instead of the Bootstrap library
Move the qmake-specific logic of the QLibraryInfo class to
qmake internals. 'qconfig.cpp.in' now stores information about
the library info entries to keep them consistent between qmake
and the Core library. qmake requires specific features enabled
in the Core library, so building qmake will be skipped if the
features are not enabled.
All flags directly related to the qmake have been removed from
Core lib.
Remove all bootstrap related sections from qmake CMakeLists.txt
Task-number: QTBUG-89369
Change-Id: I26de157d3bfd4a5526699296e9d46e1c180b89ae
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/corelib/text/qlocale_win.cpp')
-rw-r--r-- | src/corelib/text/qlocale_win.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/text/qlocale_win.cpp b/src/corelib/text/qlocale_win.cpp index bc7c6e1fb6..664e82a5aa 100644 --- a/src/corelib/text/qlocale_win.cpp +++ b/src/corelib/text/qlocale_win.cpp @@ -595,7 +595,7 @@ QVariant QSystemLocalePrivate::uiLanguages() { unsigned long cnt = 0; QVarLengthArray<wchar_t, 64> buf(64); -# if !defined(QT_BOOTSTRAPPED) && !defined(QT_BUILD_QMAKE) // Not present in MinGW 4.9/bootstrap builds. +# if !defined(QT_BOOTSTRAPPED) // Not present in MinGW 4.9/bootstrap builds. unsigned long size = buf.size(); if (!GetUserPreferredUILanguages(MUI_LANGUAGE_NAME, &cnt, buf.data(), &size)) { size = 0; @@ -606,7 +606,7 @@ QVariant QSystemLocalePrivate::uiLanguages() return QStringList(); } } -# endif // !QT_BOOTSTRAPPED && !QT_BUILD_QMAKE +# endif // !QT_BOOTSTRAPPED QStringList result; result.reserve(cnt); const wchar_t *str = buf.constData(); |