diff --git a/src/base/utils/compare.h b/src/base/utils/compare.h index 7673b0f7f..53de6b73a 100644 --- a/src/base/utils/compare.h +++ b/src/base/utils/compare.h @@ -31,7 +31,7 @@ #include #include -#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 #endif