diff --git a/src/main.cpp b/src/main.cpp index c771f71..af66f62 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -34,6 +34,8 @@ int main(int argc, char *argv[]) { QApplication::setOrganizationName("org.keshavnrj.ubuntu"); QApplication::setApplicationVersion(VERSIONSTR); + qputenv("QTWEBENGINE_DICTIONARIES_PATH",Dictionaries::GetDictionaryPath().toUtf8().constData()); + QCommandLineParser parser; parser.setApplicationDescription( QObject::tr("Feature rich WhatsApp web client based on Qt WebEngine"));