From ff8abd50166277f1aa5a1f01854e581c90f33833 Mon Sep 17 00:00:00 2001 From: "Tux3 / Mlkj / !Lev.uXFMLA" Date: Wed, 1 Oct 2014 16:49:54 +0200 Subject: [PATCH] Fix #361, load Qt runtime platform plugins --- main.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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())