diff --git a/main.cpp b/main.cpp index 8e981baa5..e21c1c647 100644 --- a/main.cpp +++ b/main.cpp @@ -27,6 +27,10 @@ int main(int argc, char *argv[]) a.setApplicationName("qTox"); a.setOrganizationName("Tox"); + // Windows platform plugins DLL hell fix + QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath()); + a.addLibraryPath("platforms"); + // Load translations QTranslator translator; if (Settings::getInstance().getUseTranslations())