1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Fix #361, load Qt runtime platform plugins

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-10-01 16:49:54 +02:00
parent 4d91695169
commit ff8abd5016
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -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())