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:
parent
4d91695169
commit
ff8abd5016
4
main.cpp
4
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())
|
||||
|
|
Loading…
Reference in New Issue
Block a user