diff --git a/src/common/utility_mac.cpp b/src/common/utility_mac.cpp index 480102f8d28dc..68520ae33bd4a 100644 --- a/src/common/utility_mac.cpp +++ b/src/common/utility_mac.cpp @@ -22,7 +22,10 @@ #include <QCoreApplication> #include <QDir> #include <QLoggingCategory> + +#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) #include <QtMacExtras/QtMacExtras> +#endif #include <CoreFoundation/CoreFoundation.h> #include <CoreServices/CoreServices.h>