summaryrefslogtreecommitdiffstats
path: root/src/util/translations.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/translations.h')
-rw-r--r--src/util/translations.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/translations.h b/src/util/translations.h
index 17b9b28f2a..bac70d1d9b 100644
--- a/src/util/translations.h
+++ b/src/util/translations.h
@@ -73,7 +73,11 @@ class Translations {
installTranslations(pApp,
locale,
QStringLiteral("qt"),
+#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
+ QLibraryInfo::path(QLibraryInfo::TranslationsPath),
+#else
QLibraryInfo::location(QLibraryInfo::TranslationsPath),
+#endif
true);
// Load Qt translations for this locale from the Mixxx translations