diff --git a/src/corelib/tools/qcollator_mac.cpp b/src/corelib/tools/qcollator_macx.cpp similarity index 100% rename from src/corelib/tools/qcollator_mac.cpp rename to src/corelib/tools/qcollator_macx.cpp diff --git a/src/corelib/tools/qcollator_p.h b/src/corelib/tools/qcollator_p.h index 7c5f18c5b2..50e1a01f82 100644 --- a/src/corelib/tools/qcollator_p.h +++ b/src/corelib/tools/qcollator_p.h @@ -47,7 +47,7 @@ #include #ifdef QT_USE_ICU #include -#elif defined(Q_OS_DARWIN) +#elif defined(Q_OS_OSX) #include #endif @@ -57,7 +57,7 @@ QT_BEGIN_NAMESPACE typedef UCollator *CollatorType; typedef QByteArray CollatorKeyType; -#elif defined(Q_OS_DARWIN) +#elif defined(Q_OS_OSX) typedef QVector CollatorKeyType; struct CollatorType { diff --git a/src/corelib/tools/tools.pri b/src/corelib/tools/tools.pri index 01f16dc2ad..318f84d78e 100644 --- a/src/corelib/tools/tools.pri +++ b/src/corelib/tools/tools.pri @@ -150,8 +150,8 @@ contains(QT_CONFIG,icu) { } } else: win32 { SOURCES += tools/qcollator_win.cpp -} else: mac { - SOURCES += tools/qcollator_mac.cpp +} else: macx { + SOURCES += tools/qcollator_macx.cpp } else { SOURCES += tools/qcollator_posix.cpp }