1
0
Xu Zhao 2019-11-02 13:01:58 +00:00 committed by Git OBS Bridge
parent 3fe291243e
commit 6c0db75ee4

View File

@ -18,7 +18,7 @@ index 3ba28309b..e280c44fa 100644
Platform::start(); // must be started before Sandbox is created
+ // I don't know why path is not in QT_PLUGIN_PATH by default
+ QCoreApplication::addLibraryPath("/usr/lib/qt/plugins");
+ QCoreApplication::addLibraryPath("/usr/lib64/qt5/plugins");
+ // without this Telegram doesn't start on Ubuntu 17.04 due GTK errors
+ setenv("QT_STYLE_OVERRIDE", "qwerty", false);
+ // Telegram doesn't start when extraordinary theme is set, see launchpad.net/bugs/1680943