Browse Source

Fix #361, load Qt runtime platform plugins

pull/366/head
Tux3 / Mlkj / !Lev.uXFMLA 11 years ago
parent
commit
ff8abd5016
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 4
      main.cpp

4
main.cpp

@ -27,6 +27,10 @@ int main(int argc, char *argv[]) @@ -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())

Loading…
Cancel
Save