diff --git a/src/main.cpp b/src/main.cpp index eb1f3254..47a35d10 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -112,8 +112,7 @@ int main(int argc, char *argv[]) } QTranslator qtBaseTranslator; - qtBaseTranslator.load(QT_TRANSLATE_FILE); - if (qtBaseTranslator.load(QT_TRANSLATE_FILE)) + if (qtBaseTranslator.load(QLocale(), "qt", "_", "/usr/share/qt5/translations//")) { a.installTranslator(&qtBaseTranslator); qDebug()<<"QtBase Translations load success";