Don't use QCollator when it works on posix mode

PR #17204.
This commit is contained in:
brvphoenix 2022-06-14 13:22:30 +08:00 committed by GitHub
parent 5b0cbf9eb1
commit 7faa8b7a02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@
#include <Qt>
#include <QtGlobal>
#ifndef Q_OS_WIN
#if !defined(Q_OS_WIN) && (!defined(Q_OS_UNIX) || defined(Q_OS_MACOS) || defined(QT_FEATURE_icu))
#define QBT_USE_QCOLLATOR
#include <QCollator>
#endif